-
v0.3.0 Stable
released this
2024-06-05 16:41:04 -07:00 | 181 commits to main since this release!!!BREAKING CHANGE!!!
- Calling the script with no argument will no longer initiate a backup
- Must use the full command with argument: 'archiver start'
- If you have cronjobs scheduled without the 'start' argument, they will no longer initiate a backup without editing to include 'start'
- You can edit your cronjobs with the following command: 'sudo crontab -e'
- i.e. '0 3 * * * archiver start'
Improved
- Massive argument improvements:
- Arguments are now single words, not prefaced by '--'
- archiver start|stop|pause|resume|restart|logs|status|setup|uninstall|restore|help
- 'archiver' command with no argument (or with 'help' argument) prints a guide to available arguments
- 'start':
- 'archiver start' is now required to initiate a backup
- may need to edit 'sudo crontab -e' if it previously did not include the 'start' argument
- 'archiver start logs' to initiate a backup and view logs
- 'archiver start prune|retain' prune and retain will override the behavior to prune or retain backups for this run only
- logs and prune|retain can be combined
- 'archiver start' is now required to initiate a backup
- 'stop|pause|resume':
- 'archiver stop|pause|resume' manually stops, pauses, or resumes a running backup
- 'archiver resume' can be combined with 'logs'
- 'logs'
- 'archiver logs' will display the logs of a running backup (but no longer starts a new backup)
- 'status'
- 'archiver status' prints whether or not there is a currently running backup process
- 'restart'
- 'archiver restart' will stop any running backup and start a new one from the beginning
- similar to 'archiver start' can be used with logs|prune|retain
- 'restore'
- 'archiver restore' will run the restore script
- 'help'
- 'archiver help' will display information about available commands and arguments
- 'setup|uninstall'
- 'archiver setup|uninstall' will run the setup or uninstall scripts
- although, on first run, setup will require './archiver.sh setup' from the archiver dir, given archiver will not be in the PATH yet
- uninstall function coming soon
- Arguments are now single words, not prefaced by '--'
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads