Backup samba shares to an NAS.
Hello,
we want to backup data of samba shares(PC1) to an NAS Storage. The Backuptype must be differential. Sunday we want to make a full backup. The other days are only differential backups. Important: Open Files must be save, too. Overview """""""""" Hostname: PC1 Services: Samba Shares: \\folder1, \\folder2, \\folder3, \\folder4 Hostname: NAS-Storage Services: Samba Shares: \\disc_1, \\disc_2 Has anybody an idea to solve this problem? Should i use an shellscript scheduled by a chronjob? Has someone an example of a backup-shell-script? Which backuptool should i use to manage the differential backup with the security of saving open files? I'am very thankfull for all ideas. Arndt |
Welcome to LQ.
rsync is probably the best tool for your backups. I'm not sure what OS your NAS uses but you may want to avoid using the smb protocol as your file permissions will be lost. |
Backup-Problem / Question
Hello,
is it possible to backup only the changed and new created files between the last backup in a seperate backup folder? With rsync? For example: - On Monday we make a full backup in /backup/MO_20050321/. - On Thuesday the file "abc.txt" has changed and a new file called "def.txt" was created. All other files are the same version as in the monday backup. On Thuesday we want to backup abc.txt and def.txt in the Folder DI_20050322 but not the files, we've saved on monday. Please help me! Have you any suggestions? greetings Arndt |
The easiest way I can think of is to run a find command to find files modified within the last day and pipe it into rsync, you can then run rsync with "--include-from= -"
|
All times are GMT -5. The time now is 03:05 PM. |