Changes

From Amahi Wiki
Jump to: navigation, search
1,089 bytes added ,  19:55, 1 March 2013
m
<blockquote>
{{Text|Text= interval hourly 6 interval daily 7 interval weekly 4 interval monthly 12}}</blockquote>
* Find the "GLOBAL OPTIONS" section. This section defines how much information will be saved in the rsnapshot "log" file.
loglevel 3}}</blockquote>
:backup /var/hda/files/docs/ localhost/* Find the "logfile" line and change the line item. After rsnapshot has completed backups this is where the resulting "log" file is stored. Change this line as required.
:backup <blockquote>{{Text|Text=logfile /var/hdalog/files/pictures/ localhostrsnapshot}}</blockquote>
:backup * Find the "BACKUP POINTS /varSCRIPTS" section. Add changes as seen below. This is the section that defines the "key directories" that will be backed up. Please note the "localhost/hda", this represents the server that it being backed up. "localhost/files/movies/ localhost" is a default name given to the current server. Change this name as required, say "amahiBox/"?
:<blockquote>{{Text|Text=backup /var/hda/files/docs/ localhost/backup /var/hda/files/pictures/ localhost/backup /var/hda/files/movies/ localhost/backup /var/hda/files/music/ localhost/backup /var/hda/files/other_shares_you_made localhost/}}</blockquote>
:backup /var/hda/files/other_shares_you_made localhost/* Save the "rsnapshot.conf" file.
Save === Test the Configuration Changes ===* Now the changes to the rsnapshot configuration filehave to be tested. rsnapshot has a feature to test changes to make sure things have been setup correctly.
:* Enter the following on the command-line to initiate the test.<blockquote>{{Code|rsnapshot configtest}}</blockquote>
this * When the test completes the following should returnbe displayed: syntax <blockquote>{{Text|Text=Syntax OK}}</blockquote> * If an error occurs the rsnapshot configuration file will need to be checked.
===Email reporting===