cp -a /home/orangeroot1000
/media/MaxtorUSBHDD/OrangeRoot1000Backups/Lappie$(date -u
+%Y%m%d-%H:%M)
Cron jobs are wonderful, if you are backing up any system files root
will need to do the cron, otherwise $user is sufficient. The example
above is using cp command but rsync would work the same
One thing I might point out though is that you (Betty) said you did the
backup about once a month and your example shows rsyncing to a directory
named for the month (October). That's fine but some people use rsync to
update a single backup destination so they don't keep each backup
separately.
This is true - if you change the destination folder you do copy
everything because rsync does not know you copied anything before.
Rsync syncs. Thus if you wish to sync /my/files/ and
/media/my/backupfiles/ it copies everything from files to back up
files on the first run then every subsequent run
Bryan wrote:
This is true - if you change the destination folder you do copy
everything because rsync does not know you copied anything before.
This is true in the general case. However, you can tell rsync about
the files you copied before with the --compare-dest, --copy-dest,
or --link-dest
You might also check out the Déjà Dup tool. It also does incremental
backups correctly (it is a front-end to duplicity).
As long as you don't need some of the more advanced features of
duplicity, rsnapshot, rdiff-backup, etc, it works quite well on the desktop.
signature.asc
Description:
I use -avczPW for switches. very rarely do I automate a delete and it
is always AFTER a full copy. If you put a / in the wrong place you can
nuke your whole set of backups. So beware... other than that rsync IS
the way to backup. It is so featureful and once you set up your style
makes it pretty
I have an ext hdd that i copy my stuff to every few months. I think that
i am copying everything all over again each time.
What I'd like to do is just copy files that have changed.
This is the command i have been using
sto...@stormy-desktop:~$ sudo rsync -azvH /home/stormy/ /media/october
You're pretty close to ideal there.
I use
rsync -avEHh --delete-after --progress $SOURCE $DESTINATION
Generally no need to sudo for your own homedir, and -z is really only useful
for network copying (it compresses in-transit, not on disk).
That will only copy over changes between the source and
ok, great, so do i just do this;
sto...@stormy-desktop:~$ rsync -avEHh /home/stormy/ /media/october
or do i do this :
sto...@stormy-desktop:~$ rsync -avEHh --delete-after --progress /home/stormy/
/media/october
sorry to be so stupid, but i rely on you guys for this ;)
thank you!!
betty
On
Do not think yourself stupid! I know software developers who are
afraid of anything on a command line. The fact that you are using
rsync is a long ways from anything close to stupid!
Excellent work.
Alan
On Wed, Dec 8, 2010 at 10:05 PM, betty nicepeng...@webcanine.com wrote:
ok, great, so do
Yes, I commend you for going for the command line tools like that.
Tackling rsync is no slouch by any means. Frankly, I can rarely
remember all the command line options for rsync and have to either
constantly look at the man page or previous working examples. I would
also create little one or
I am running 2.6.9 in fedora 8 and the batch mode is shown normally.
That looks like what I need though.
Thanks
On Dec 17, 2007 11:00 PM, der.hans [EMAIL PROTECTED] wrote:
Am 17. Dec, 2007 schwätzte Shawn Badger so:
Good guess about CPU time, it is mostly about bandwidth. All the
servers
Never mind I discovered rdiff.
On Dec 17, 2007 10:57 AM, Shawn Badger [EMAIL PROTECTED] wrote:
Basically I need to create a single file that has all the differences
in it between rsyncs.
I have rsync can do this, but I haven't figured out how to do it.
How can I create the diff's and then
Am 17. Dec, 2007 schwätzte Shawn Badger so:
Ok, I jumped the gun. It looks like rdiff-backup is close, but still
not exactly what I need.
To restate it , I need to be able take the changes in a folder with
many little image files and compare that to a different fold, but
instead of syncing
Am 17. Dec, 2007 schwätzte Shawn Badger so:
Good guess about CPU time, it is mostly about bandwidth. All the
servers will house the same files, so they will all need the exact
same updates. That coupled with a high latency network connecting
those servers means that I need a way of sending just
I have been playing with Unison and so far it seems like it will work just
fine.
Thanks for everybodys help!!
On 11/6/07, der.hans [EMAIL PROTECTED] wrote:
Am 06. Nov, 2007 schwätzte Dan Lund so:
There's an application called unison that'll take care of
bidirectional synchronizations
That is more like what I want. The only problem I see with it is the
conflict resolution. I need it run in a cronjob non-interactively. I may be
able to have it send me an e-mail when it has a conflict though and I go in
and manually resolve it.
On 11/6/07, Dan Lund [EMAIL PROTECTED] wrote:
There's an application called unison that'll take care of
bidirectional synchronizations pretty easily.
http://www.cis.upenn.edu/~bcpierce/unison/
On 11/6/07, Shawn Badger [EMAIL PROTECTED] wrote:
I need to sync a folder on 2 servers, sounds easy, but the catch is that
they basically have to
Thanks, but I am really looking for a bidirectional sync.
For deleting I may be able to come up with a way to compare file listings
and dates. Do something like if filex is older than last sync time and
removed then remove file on other server. But I would like an more elegant
easy way of doing
-discuss@lists.plug.phoenix.az.us
Subject: rsync help
I need to sync a folder on 2 servers, sounds easy, but the catch is that they
basically have to mirror each other. So if I deleted a file on one it goes away
on the other, but If I add a file it shows up on both. The catch is that a file
could
I need to sync a folder on 2 servers, sounds easy, but the catch is that
they basically have to mirror each other. So if I deleted a file on one it
goes away on the other, but If I add a file it shows up on both. The catch
is that a file could be added or deleted form either system. Is there a way
Shawn Badger wrote:
I need to sync a folder on 2 servers, sounds easy, but the catch is
that they basically have to mirror each other. So if I deleted a file
on one it goes away on the other, but If I add a file it shows up on
both. The catch is that a file could be added or deleted form
Shawn Badger wrote:
Thanks, but I am really looking for a bidirectional sync.
For deleting I may be able to come up with a way to compare file
listings and dates. Do something like if filex is older than last sync
time and removed then remove file on other server. But I would like an
more
Am 06. Nov, 2007 schwätzte Dan Lund so:
There's an application called unison that'll take care of
bidirectional synchronizations pretty easily.
http://www.cis.upenn.edu/~bcpierce/unison/
Unison is great. I recently did a mini-presentation on it at a east side
meeting.
Unison doesn't handle
24 matches
Mail list logo