Skip to content

Feature Request: pre-run/post-run options #6

@githubjsorg

Description

@githubjsorg

Hi. I haven't used this or the related rsync-time-backup tools yet but am planning on doing so.

A feature that would be extremely useful in this wrapper is pre/post-backup/restore commands similar to pre/post-up/down options in debian /etc/network/interfaces config.

Ex.
PRE_BACKUP=SOME COMMAND
POST_BACKUP=SOME OTHER COMMAND

Example Use Case:
Make sure a Databases files are synced to disk before backup. Either by shutting the DB down PRE_RUN and starting it back up POST_RUN. Or using lock/unlock commands pre/post run, etc.
Or alternatively do a dump so that also gets backed up.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions