Fork me on GitHub

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
enable_pre-action_script_for_multiple_backup_configuration_directories [2012/04/06 06:02]
henri [Install pre-action script into multiple LBackup configuration directories]
enable_pre-action_script_for_multiple_backup_configuration_directories [2012/04/06 06:04]
henri [Install pre-action script into multiple LBackup configuration directories]
Line 23: Line 23:
 tar -czvf /​tmp/​lbackup-config-backup-`date "​+%Y-%m-%d_%H-%M-%S"​`.tar.gz /​etc/​lbackup tar -czvf /​tmp/​lbackup-config-backup-`date "​+%Y-%m-%d_%H-%M-%S"​`.tar.gz /​etc/​lbackup
 </​file>​ </​file>​
-The command above generates a file ///​tmp/​lbackup-config-backup-__dateandtime__.tar.gz//,​ which you should check and then move to somewhere else preferably offsite. If you would prefer to use a differnt utility to perform the backup go ahead; rsync, lbackup, cp are all  possibilities. Do whatever works for you. Just check that what ever method you seattle on is preserving the meta-data you require. ​Another tip is to put your LBackup configuration directories into a revision control system such as git. +The command above generates a file ///​tmp/​lbackup-config-backup-__dateandtime__.tar.gz//,​ which you should check and then move to somewhere else preferably offsite. If you would prefer to use a differnt utility to perform the backup go ahead; rsync, lbackup, cp are all  possibilities. Do whatever works for you. Just check that what ever method you seattle on is preserving the meta-data you require. ​ 
-\\ \\ + 
 +  * TIP : Use a revision control system such as git to manage your configuration directories
 + 
 +\\ 
 **Step 2** \\  **Step 2** \\ 
 Check the places you are coping to are what you expect. Check the places you are coping to are what you expect.