Re: incomplete back-ups



grace <zympoul@xxxxxxxxx>:

i've been creating back-ups of our files every night through cron jobs
and my script
for this is like this:

0 21 * * 1 sudo cp -r /home /db/home_bu/mon

Further to my other reply, you might want to use instead:

cp -rp ...

so the resultant copies will have the same ownerships, protections,
and timestamps as the originals. This is very important should you
ever get into doing incremental backups (another way to minimize the
size of the resultant backup archive).


--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling Linux Counter #80292
- - http://www.faqs.org/rfcs/rfc1855.html Please, don't Cc: me.
.



Relevant Pages

  • Automatic backups of clients documents
    ... They want the profiles to remain local so roaming profiles is out of the ... runs the backup but is there some way to schedule the script? ... collegue suggested installing RoboCopy as an MSI and then writing a logon ... script to run incremental backups but this is still not ideal. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Backup Script weird tar message
    ... So I am working on a shell script to do a incremental backups. ... script basically makes a full monthly backup then once a week makes ...
    (comp.unix.shell)