Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Operating System - Microsoft
cancel
Showing results for 
Search instead for 
Did you mean: 

Backup of NT servers with Samba

Mauro_3
Advisor

Backup of NT servers with Samba

I made a script to backup two shared directories in two different servers using smbtar:
$smbtar -v -u backup -s server1 -x dir1 -p pass
$smbtar -v -u backup -s server2 -x dir2 -p pass
but I have a problem: always the 2nd backup overwrite the 1st, because I don?t have the append option like "r" in the tar command. I try to make a "mt -f /dev/st0 eod" to put the tape in the finish of the 1st backup before starting the 2nd server backup, but it didn?t works. I hope you have a advice...

Thanks, Mauro
Brazil
1 REPLY
Simon Gales
Occasional Visitor

Re: Backup of NT servers with Samba

You may need to use the no-rewind version of the tape device (for scsi tape drives, use /dev/nst0 instead of /dev/st0). You can specify which tape device to use with the -t option to smbtar.