Solved

DVD Backup of Samba

Posted on 2004-10-22
249 Views
Last Modified: 2010-04-03
Any suggestions for an inexpensive backup system for following:

Samba server with Windows 98 & XP workstations
One new PC has XP Pro with the new Sony 8G DVD writer

Been using BackupMyPC to back up from a P2P network to the DVD
However, now installed a new server (Linux) with Samba and the BackupMyPC will not read from the Samba folders. So need a new solution.

Nedd to back up files from Samba (accounting data) and the local XP PC which has the payroll on it.
0
Question by:alexangus
    5 Comments
     
    LVL 19

    Expert Comment

    by:billmercer
    Just out of curiosity, have you tried mapping the samba volume to a local drive letter to see if BackupMyPC will recognize it that way? Veritas says network volumes must be mapped to be backed up, and they're the original authors of BackupMyPC.
    0
     

    Author Comment

    by:alexangus
    Yes, it is mapped to L: drive.
    Click on c: drive and files/sub-folders appear.
    Click on L: blank.
    You can even select it with the little tick next to the L: but nothing backs up and just the rights error comes up.

    0
     
    LVL 2

    Accepted Solution

    by:
    You can create a shell script on the Samba Server that takes a backup of all the data you need in a file and have it run through cron every time you need to take the backup (let's say every saturday morning).
    If you important samba folder that you want to backup are /data1 /data2 that script would look like this:

    #!/bin/sh
    tar cvzf /fs_with_lots_of_space_to_fit_all_folders_backup_up/smd_backup.tar.gz /data1 /data2

    Then you should transfer this file to the windows machine either with ftp, or scp (you have to download a command line version of scp for windows) of even rcp (not recommended!).

    scp root@my_samba_server://fs_with_lots_of_space_to_fit_all_folders_backup_up/smd_backup.tar.gz .

    This way you have your backup file localy in windows and i am sure that you know better than me what to do next :-) Of course all this procedure above can be done automatically through cron and Task Manager.
    0
     
    LVL 19

    Expert Comment

    by:billmercer
    This is probably not a limitation of the BackupMyPC software, as others have reported successfully backing up Samba shares using it.

    Troxalias' approach should work around this problem, but I'm curious as to why it's happening in the first place.
    You said a "rights error" appears. That could indicate a problem with your SMB configuration. Can you post the actual error you receive?


    0
     
    LVL 19

    Expert Comment

    by:billmercer
    ok by me
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Sometimes the best way to deal with an infected computer is to boot from external media and run your tools from there.  The reason you may wish to do this really depends on the infection.  Some malware is so recalcitrant that no matter what you do i…
    We wanted to provide an in-depth explanation of the Ping Node offering clarifications on its function and usage. Incorrect Ping Node configuration and functionality can cause problems with HA clusters. The importance of this article is critical for …
    This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
    This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

    884 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now