This shows you the differences between two versions of the page.
other:linux:tb_ff [2015/11/06 11:02] jypeter created |
other:linux:tb_ff [2015/11/06 13:13] (current) jypeter Added the 'tar' stuff |
||
---|---|---|---|
Line 2: | Line 2: | ||
===== Backing up FF and TB ===== | ===== Backing up FF and TB ===== | ||
+ | |||
+ | ==== The configuration directories ==== | ||
The configuration directories of FF and TB are **located in the user's home directory** and can be easily located and backed up with a simple ''tar'' command | The configuration directories of FF and TB are **located in the user's home directory** and can be easily located and backed up with a simple ''tar'' command | ||
Line 9: | Line 11: | ||
**Warning**! These directories are hidden and may use a lot of disk space! You may want to check how much they are using from time to time, if you are a bit short on space: ''cd; du -sh .mozilla .thunderbird''\\ If need be, you can move these directories by roughly following [[other:thunderbird#moving_the_tb_configuration_directory|the steps described for Windows]] | **Warning**! These directories are hidden and may use a lot of disk space! You may want to check how much they are using from time to time, if you are a bit short on space: ''cd; du -sh .mozilla .thunderbird''\\ If need be, you can move these directories by roughly following [[other:thunderbird#moving_the_tb_configuration_directory|the steps described for Windows]] | ||
+ | |||
+ | ==== Creating the tar archive ==== | ||
+ | |||
+ | <code>cd # Make sur you are in your home directory | ||
+ | tar cvfz /home/scratch01/<your_login>/firefox_<your_login>_<date>.tgz .mozilla | ||
+ | tar cvfz /home/scratch01/<your_login>/thunderbird_<your_login>_<date>.tgz .thunderbird | ||
+ | chmod 600 /home/scratch01/<your_login>/*_<your_login>_<date>.tgz # Make sure others can't access the backup! | ||
+ | </code> | ||
+ | |||
===== Restoring FF and TB ===== | ===== Restoring FF and TB ===== | ||
+ | |||
+ | <code>cd # Make sur you are in your home directory | ||
+ | \rm -rf .mozilla .thunderbird # Dangerous! Make sure you know what you are doing! | ||
+ | tar xfz /home/scratch01/<your_login>/firefox_<your_login>_<date>.tgz | ||
+ | tar xfz /home/scratch01/<your_login>/thunderbird_<your_login>_<date>.tgz | ||
+ | </code> | ||