Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backup shell script #4

Open
mrfloris opened this issue Aug 22, 2020 · 0 comments
Open

Backup shell script #4

mrfloris opened this issue Aug 22, 2020 · 0 comments

Comments

@mrfloris
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant