Priest of the Order of the Butterfly
Posts: 602 from 2004/11/27
Quote:
TheMagicM wrote:
Is there something that will preserve flags while backing up?
well it depends if you need the backup compressed.
What I do is that i use mirrorcopy and i backup the complete content of the 1st hd to a 2nd hd. I let this happen during every night, so next day i have a mirror of the day before on a 2nd disk. All flags, comments, etc. are preserved.
But this needs a 2nd hd with at least the same size as the 1st.
You need mirrorcopy from e. g. morphos-files.net
and a small script, like:
System:c/mirrorcopy from PM3System: to PM3Backup:System/ ALL BUF=2000 VERBOSE DATE STAT DELDIR deleted CONTINUE
(this line is for backing up the system partition. You can add other partitons...)
and CyberCron from aminet: to launch the backup at a certain time at night, like:
00 03 * * * Backup_PM3 > "PM3Backup:backup.log" :OBEYQUEUE b
and that's more or less it.
If you need to restore, for what ever reason, you can start the computer with the MorphOS CD and then copy everything back.
Regards
Christoph