Hello Slow1000,
Thank you for your comment. Yes, they are good backup/recovery softwares but I also need to use RSYNC for a synchronization operation. Once again thanks.
AKOHAN
Main Topics
Browse All Topics
Hello,
I have written a backup/recovery script and still working on it but still there is something, which I'm not satisfied with it yet. The whole theory of RSYNC is synchronization or data transfer so why do some or maybe most of the Admins mention it as backup tool?
Some believe tar or dump or any compression must not be used during rsync since it causes some confusion in its process and some tar or compress their files before calling rsync.
If I don’t use tar or compression then I'm having problem with storage (room)
If I use it then I defeat its theory and its original definition.
1 ) What do you suggest?
2) Is there any way to have RSYNC to make the target directory on target media? at this time I use mkdir to make it before calling rsync.
3) Is it possible target a DVD or CD as media using rsync?
4) How to show a progress bar during its tranfer?
Your help is appreciated greatly.
AKOHAN
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
2 approaches are available to you:
1. Tar up the files before transferring the files concerned - use bz2 or gz compression prior to rsynching between the systems. Disadvantage of this is that you have to transfer all the files in the bz2/gz archive if only one file in the archive has changed.
2. Compress the rsynch stream:
rsync -Cavz -e ssh user@source.ip user@dest.ip
Obviously you may not need to use ssh as the shell for the transfer, and also source and/or dest may be local, so you wont need the long form.
man rsynch
to find required syntax for your circumstances.
( (()
(`-' _\
'' ''
3) Is it possible target a DVD or CD as media using rsync?
You can *IF* the DVD or CD is configured as a RAM disc.
4) How to show a progress bar during its tranfer?
With difficulty...and it won't be accurate anyway! Imaging 1000 files, and all are 1 byte in size, except the 1000th on which is 5GB...the progress will only show progress through number of files, and will therefore almost immediately after starting be at 99.9% complete, and remain that way until completion.
( (()
(`-' _\
'' ''
Business Accounts
Answer for Membership
by: slow1000Posted on 2006-09-03 at 14:20:22ID: 17446593
Although this really doesn't answer your question directly, I think Backup PC or another utility designed for backups might be easier for you to use, and you'll be happy with the results. e.net/info .html
http://backuppc.sourceforg
http://www.bacula.org/
http://www.amanda.org/