I really need to update my little shell script to automate a few tasks to backup the OMG forums when I need a manual backup.
I keep finding the commands, and my old shell script no longer works.
-
backup with tar, using gzip, to a specified directory and name, timestamped, a relative pathed web thing.
-
for each site
-
backup with tar, using gzip, to a specified directory and name, timestamped, the mysql database.
-
each database
-
make an archive for the above
-
keep up to x archives
-
delete oldest archive
-
once it's guaranteed to work, maybe crontab it even.
I really need to update my little shell script to automate a few tasks to backup the OMG forums when I need a manual backup.
I keep finding the commands, and my old shell script no longer works.
backup with tar, using gzip, to a specified directory and name, timestamped, a relative pathed web thing.
for each site
backup with tar, using gzip, to a specified directory and name, timestamped, the mysql database.
each database
make an archive for the above
keep up to x archives
delete oldest archive
once it's guaranteed to work, maybe crontab it even.