Go to file
2022-08-28 12:52:54 +02:00
systemd-templates Initial commit 2022-03-14 21:45:57 +01:00
.gitignore Add the ability to disable install 2022-03-17 14:59:20 +01:00
firefox-backup.sh Initial commit 2022-03-14 21:45:57 +01:00
install.sh Update install script with new good practices (run_directory) 2022-08-28 12:52:54 +02:00
README.md Initial commit 2022-03-14 21:45:57 +01:00
variables.conf.template Initial commit 2022-03-14 21:45:57 +01:00

Firefox Backup

This script performs a backup (archiving) of Firefox profile to a backup directory (ideally located on a different volume). As its purpose is to be run at computer shutdown (see service file), it also removes, if it exists, the 10-day old archive.

Files

  • firefox-backup.sh performs a save of you Firefox profile.
  • variables.conf.templates contains examples variables definitions, and should be copied locally to variables.conf (with any required modifications).
  • systemd-templates/ contains Systemd units templates for running the script unattended.

Installation

  • install.sh copies Systemd templates to their destination, and enables backup for the user running the script.

Notes

  • If your backup directory is not on root volume, you may want to add a drop-in for the service unit, with Requires=<mount-point>.mount

TODO