install.fairie/docs/cli/commands/firefox-profile-restore.md
2023-08-08 03:06:49 -04:00

1.2 KiB

title description sidebar_label slug githubLocation repoLocation
Firefox Profile Import / Restore Restores the user's Firefox profile from the user's S3-backed Restic repository firefox:profile:restore /cli/commands/firefox-profile-restore https://github.com/megabyte-labs/install.doctor/blob/master/home/dot_config/task/Taskfile.yml#L268 home/dot_config/task/Taskfile.yml

This command imports / restores the Firefox profile from the S3 Restic repository, if it exists. In order to use this command for the first time, you should initialize Firefox by opening the application. You should also customize the application by applying your preferred settings (i.e. customize it how you want it to open in the future). Then, after making any changes you wish to be saved, you can backup the Firefox profile to the user's S3 bucket by running the firefox:profile:backup task. After this is done, you can restore the application settings by running this command (i.e. firefox:profile:restore).

The Firefox backup is encrypted with the same key that Chezmoi uses (stored in ~/.config/age/chezmoi.txt, by default). Since the backup leverages Restic, you can leverage all the functionality that Restic offers if something goes awry.