[Breezy] Backups to USB Disk

Ed Fletcher ed at fletcher.ca
Tue Dec 6 08:00:36 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

'Forum Post wrote:
| Would the copy command work for you?  (cp).  It does have an "update"
| option that copies new files and any that have been changed.  I haven't
| used it for this purpose and don't know how fast it would be - of course
| this depends upon the amount of data you wish to move.  It also has a
| recursive option that would need to be invoked.
|
| I use tar for a backup of my home directory and you could probably use
| this in a small bash program to automate it so that it would backup the
| home directory and then extract it onto the usb drive.  It has lots of
| options such as only backing up new or changed files.
|
| Dar is another program that might be of assistance - from what I have
| seen it is like tar but more powerful.  It is available through the
| repositories.
|
| Hope this is of some help.
|
| John_c.

Thanks John.  It seems that each of these is uni-directional.  So if
I've added files to both disks, then I'd have to run it once in each
direction.  I'm suspicious that files added from A to B might be seen as
new during the copy from B to A.

I've been doing this with Nautilus so far, but the filesystem is
approaching one hundred and fifty gigs with most of the activity taking
place in a subdir with about sixty gigs.  So slotting these in by hand
is getting tedious.  Not to mention that it's getting easier for me to
make a mistake and leave a file not copied.

What I was hoping to find was a command that would look for new files on
each side and copy them to the other.  Hmmm . . . Maybe it's time I
learned to write a script.

Thanks,
Ed
- --
Ed Fletcher
ed at fletcher.ca

What difference does it make to the dead, the orphans and the homeless,
whether the mad destruction is wrought under the name of totalitarianism
or the holy name of liberty or democracy?  -  Mahatma Gandhi (1869-1948)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDlUUklTbGAQhc1A8RArWoAJ0XWe2zzbNHzC32ArjDXyCsQPORLgCeMomy
1/Iqm1Jd630dF9qQr1S/ozM=
=jmqF
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list