2004-03-02 -+- Troels Arvin -+- troels@arvin.dk -+- I have used rsync for backup purposes in the past. I have now switched to "rdiff-backup". rdiff-backup uses the same algorithms as rsync (by way of the "librsync" library) but adds a number of very nice features. Have a look at http://rdiff-backup.stanford.edu/ -+- 62.79.119.132 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040225 Firefox/0.8 2004-03-02 -+- Jeff Childs -+- jeff at naihl dot net -+- This looks like a great solution, and one I'm looking forward to trying soon. The nice thing about this solution is that I can still back my data up to tape and move it offsite, but instead of doing it on a bunch of servers, I can do it on just one. -+- 139.177.224.128 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322) 2004-03-19 -+- Wulf -+- LFrsync.3.wulf@spamgourmet.com -+- I've recently begun playing around with a Linux based backup system for my home network along these lines - this article will help me refine it. Thanks for helping bring things into focus :)

Wulf -+- 195.10.45.153 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040207 Firefox/0.8 2004-04-06 -+- Radoslaw Wisneiwski -+- radzimir@polbox.com -+- And how you do you make backup for backup server?
Imagine you lost backup server AND one of the other servers. Then you data is lost.
The solution could be to make incremental backup containing actual version of the changed file or the new file. Then one full backup and set of incremental backups allow to survive such an disaster.
But in the article stands, incremental directories contains previous versions of the file, not actual.

Is it possible to change that? -+- 213.138.48.88 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3 2004-04-10 -+- femi solagbade -+- strange279@yahoo.com -+- hi,

i read your article with great interest. I intend to make this my 1st linux project (i've been a windows guy).

your example talks about having 50-100 days backup on one disk. well my organisation needs to have daily backups removed from the premises and I've been trying to figure out how to achieve this. can you help? -+- 216.185.65.90 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) 2004-04-24 -+- Claus P fleger -+- claus DOT pfleger AT gw-stpoelten DOT com -+- I wonder if it is possible to save & keep permissions and rights of files on a NT 4 fileserver with rsync?

-+- 62.40.173.107 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322) 2004-04-29 -+- Michael van Eeden -+- -+- I have used rsync for years to do backup, it is very powerful. But about a year ago i found BackupPC and it is perfect, it does everything you ever wanted from a backup system and saves you from creating all the scripts to let rsync do exactly what you want. It can use rsync for the transfer of the files but also other methods.

http://backuppc.sourceforge.net/
-+- 82.197.208.114 = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 2004-06-01 -+- swirly -+- laurent.cooper_AT_ac-lyon.fr -+- a nice project for rsync backup is dirvish.
www.pegasys.ws/dirvish/
nice, functionnal and light.
-+- 82.225.210.72 = Mozilla/5.0 (compatible; Konqueror/3.2; Linux; fr, fr_FR@euro) (KHTML, like Gecko) 2004-06-19 -+- Sven C. Merckens -+- merckenssc@bigfoot.com -+- Hi,
scripts looks great, I was looking for exactly this functionality.

I use it only local to save up my data on a FireWire-HD.

So I modified the paths and tried it.

The scripts makes the backup correct, but the archiving of the modified files does not work.

It only creates the folder with the actual date and copies some data (only stuff from one folder) in it, but I get a lot of error-messages of that kind:

stat "/Volumes/G5Test/TESTZIEL/2004-06-19/Library/Safari/History.plist" failed: No such file or directory

The script is running with "sudo", so this canīt be a privilige-problem.

The folder "/Volumes/G5Test/TESTZIEL/2004-06-19/Library/" exists (it was created by the script).

What can be the problem here?
I also donīt understsand why the script does not send out a eMail-Message if errors have occured. Only after a "error-less" run, I get a report via eMail.

Many thanks in advance

Sven C. -+- 217.255.160.2 = Mozilla/5.0 (Macintosh; U; PPC Mac OS X; de-de) AppleWebKit/125.2 (KHTML, like Gecko) Safari/125.8 2004-07-18 -+- Dwaine Castle -+- dcastle@carolina.rr.com -+- Great article. Thank you. -+- 24.74.105.1 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) 2004-08-03 -+- Wil -+- support at sa-maastricht dot net -+- Great solution,

Just 1 question (apparently 2):
how to preserve ACLs from a nmbfs share? Whats best policy ie mount a share with smbfs on the backup server and do a local rsync or pipe it? The backuped up data need to be a samba share also, accesable by the ntadmin group.

Thx for answers. -+- 195.35.167.35 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) #2004-09-01 -+- Dumar Linares -+- dlinares@cundinamarca.gov.co -+- I want to use rsync to backup files of the workstations in a NT network. Is it possible? What I need to do?

-+- 200.75.48.20 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) 2004-09-02 -+- Erling -+- -+- Nice article, thanks!

I use this solution on my home network. The important stuff on my iBook is
synced with my desktop pc, I keep one week of incremental backups.
As I have little data everyone fits nicely on a 4GB dds2 tape, which also
includes all important files on the desktop pc. This soution has saved me
several times. -+- 129.240.104.95 = Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.6) Gecko/20040615 Firefox/0.8 2004-11-26 -+- carlg -+- -+- Great article....I noticed in the script about the directory to be backed up:
<snip>
BACKUPDIR=directory_you_want_to_backup
<snip>

What if you had seven (7) different directories you wanted backed up with rsync?

Would you just add 6 additional BACKUPDIR=directory_you_want_to_backup statements that would cover all seven (7) directories???? -+- 209.250.50.143 = Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 2004-12-18 -+- -+- -+- good question, I too was thinking the same thing regarding multi directories.
-+- 67.105.82.87 = Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 2005-03-02 -+- Oscar Santacreu -+- -+- Multiple directories: Use function :-)

#!/bin/sh

function do_copy {

(all commands to do copy from $ORIGIN to $DESTINATION)

}

ORIGIN="/var"
DESTINATION="/backup/var"
do_copy

ORIGIN="/home"
DESTINATION="/backup/home"
do_copy

and so on...

And a very interesting page:
http://www.mikerubel.org/computers/rsync_snapshots/

Best
O. -+- 193.145.234.34 = Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.7.6) Gecko/20050226 Firefox/1.0.1 2005-03-04 -+- Fab -+- -+- Rsync is very practical but is not a backup software. To maintain a mirror is not the same as to backup data. The multi-localization is required : if you have got a fire on your backup server, all is destructed, which could be consistently a matter.

I agree with the utility of miroring, it is a good tool for crash recovery, but the comparison with bands is a quite skewed. Bands are always required if you do backup media dissemination. -+- 134.214.144.170 = Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.6) Gecko/20050223 Firefox/1.0.1 2005-04-16 -+- Diccon Tesson -+- -+- Was reassuring to find someone who came up with the same ideas as myself. The only thing i hadnt factored in was the incremental backups.
Its a great solution.
We have some NAS machines (snap servers) that are backed up with an autoloader, but if there was a problem with the auto loader then we would have no method of recovery, and the dam things are expensive to replace.
I dont know about anyone else but the most important thing is the current data, its handy to have a historical incremental backup but if the backup server crashes/burns/explodes then its on a different site to the NAS device so we still have our data. Visa versa too.
Great idea, the concept of having an instant stop gap seriously appeals too.
Many thanks
(going to check the first run of rsync, wahoo) -+- 62.49.84.106 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 2005-05-27 -+- Taz -+- dominique@inetys.fr -+- Smaching,
backup system is up after a couple of hours of brainstorming....it is a very good way to backup datas simply and fastly !

one question after all :
some of the log file i'm backing up are not readable (like auth.log or access.log...), it's like they where put in a binary format...all the file of the website are ok (ie htm and php extensions), but not those af the log directory... any clue about this phenomenon ? -+- 195.200.183.230 = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) 2005-10-20 -+- Amit sharma -+- amitsharma_26@hotmail.com -+- QUERIES:

Suppose we have about 1000 files at location 'A' & 500 files at location 'B' & we want them to be transmitted to each other (not exactly synchronizing two location). RSYNC can do that, no issues on that. But i have few queries further.

My first query:
1. Can we make some sort of queuing procedure alongwith or through RSYNC. Like in which we can provide priorities to particular JOBs in a queue. Even if we are not able to make a seperate system for queuing, Is there a way to change the priorities for my Jobs ( Like by default, jobs are processed alphabeticaly or numerically & that is the default priority order).

But what if i have been left with another 600 files to transmit & i want last 100 to come at top of this queue or i want these last 100 jobs to be transmitted on urgent priority. How to assign priorities to jobs.

Second query:
2. Is there a way to confirm online(not through log files) what exactly has been transmitted & what is left to be transmitted. (For example we have the --progress & -vvv verbosity options for telling me what exactly is happening at this moment)

Third query:
3. Also i wanted to know , is it possible for RSYNC to transmit more than 1 files at a same time ?


Please Oblige me with your suggestions. -+- 203.101.126.181 = Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041215 Firefox/1.0 Red Hat/1.0-12.EL4 #2006-10-26 -+- jie -+- wufengseo@gmail.com -+- http://www.cnflashlights.com <br>Changde Precise Machinery is one of specialized manufacturer and exporter of various Flashlights including Led flashlights, Super Bright Led Lights, High Power Led Lights, Solar Led Lights, Super Bright Bulb Lights, Gift Boxes etc in china

http://www.xfseal.com security seal<br>Falcon Container Fittings Co.,Ltd. is one of specialized manufacturer and exporter of various Container Seals including padlock,cable seal,steel wire seal,iron seal,hanging lock seal,plastic seal,bullet seal etc in china

http://www.madehvac.com <br>CLIME ELECTRIC APPLIANCE Co.,Ltd. is one of specialized manufacturer and exporter of various diffuser including air diffuser dispacement,drum diffuser,linear diffuser,jet nozzle diffuser,air vent valve,deluxe diffuser etc in china -+- 125.108.175.28 = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; .NET CLR 1.1.4322)