Skip to content

Backup shell script #4

@mrfloris

Description

@mrfloris

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions