[[fester:additional_configbackup]]

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
fester:additional_configbackup [2017/06/24 16:20]
dan [Testing the Cron Job] section title
fester:additional_configbackup [2017/06/24 16:24] (current)
dan [Testing the Cron Job] add content
Line 248: Line 248:
  
 Now click the “Run Now” button (2). Now click the “Run Now” button (2).
 +
 +{{:​fester:​df4208c7d17c1d52898e528ae2b6f00b.png}}
  
 If this worked then a file should have been created in the dataset you made for this (in Fester’s case this was the “NightlyBackup” data set). We now need to go and check the file was created. If this worked then a file should have been created in the dataset you made for this (in Fester’s case this was the “NightlyBackup” data set). We now need to go and check the file was created.
  
 Open up an SSH session in PuTTY and log in as the root user. You should see a screen something like this. Open up an SSH session in PuTTY and log in as the root user. You should see a screen something like this.
 +
 +{{:​fester:​d6b9cba027d11ed35be2d45b1f234f2a.png}}
  
 We now need to navigate to the dataset you created to hold the nightly backups by typing in the following command into the command prompt. Don’t forget to hit the “Return/​Enter” key to execute the command. We now need to navigate to the dataset you created to hold the nightly backups by typing in the following command into the command prompt. Don’t forget to hit the “Return/​Enter” key to execute the command.
  
-cd /+''​cd /''​
  
 You should now see a screen something like this. You should now see a screen something like this.
 +
 +{{:​fester:​3cac3942d9ca1bb592e86f1022e2dfd6.png}}
  
 Now type into the command prompt the following command. Now type into the command prompt the following command.
  
-cd mnt+''​cd mnt''​
  
 You should see a screen something like this. You should see a screen something like this.
 +
 +{{:​fester:​ad739cf1d02c05554224241ca3b5cab0.png}}
  
 Now type in the following command at the command prompt to see your volume’s name. Now type in the following command at the command prompt to see your volume’s name.
  
-ls+''​ls''​
  
 You should see a screen that looks something like this. You should see a screen that looks something like this.
 +
 +{{:​fester:​6d48c5993334ded675edc0d3879740d3.png}}
  
 The name of the volume will be revealed at this point (in Fester’s case it is the blue text “Tank1”). The name of the volume will be revealed at this point (in Fester’s case it is the blue text “Tank1”).
Line 275: Line 285:
 Now type into the command prompt the following command with your volume name. The volume name is case sensitive so make sure you observe this when typing in the command. Now type into the command prompt the following command with your volume name. The volume name is case sensitive so make sure you observe this when typing in the command.
  
-cd YourVolumeNameHere+''​cd YourVolumeNameHere''​
  
 In Fester’s case the command would look like this. In Fester’s case the command would look like this.
  
-cd Tank1+''​cd Tank1''​
  
 You should see a screen like this. You should see a screen like this.
 +
 +{{:​fester:​9bc1ac42279005b3086576e02525b57d.png}}
  
 Now type in the following command at the command prompt to see your dataset’s name. Now type in the following command at the command prompt to see your dataset’s name.
  
-ls+''​ls''​
  
 You should see a screen that looks something like this. You should see a screen that looks something like this.
 +
 +{{:​fester:​531e42b5a168523c7c6c7315c3c46653.png}}
  
 The name of the dataset will be revealed at this point (in Fester’s case it is the blue text “NightlyBackup”). The name of the dataset will be revealed at this point (in Fester’s case it is the blue text “NightlyBackup”).
Line 293: Line 307:
 Now type into the command prompt the following command with your dataset name. The dataset name is case sensitive so make sure you observe this when typing in the command. Now type into the command prompt the following command with your dataset name. The dataset name is case sensitive so make sure you observe this when typing in the command.
  
-cd YourDatasetNameHere+''​cd YourDatasetNameHere''​
  
 In Fester’s case the command would look like this. In Fester’s case the command would look like this.
  
-cd NightlyBackup+''​cd NightlyBackup''​
  
 You should see a screen like this. You should see a screen like this.
 +
 +{{:​fester:​53e570f6d8f92b6c13c60dc1aef62fab.png}}
  
 Now type in the following command at the command prompt. Now type in the following command at the command prompt.
  
-ls+''​ls''​
  
 You should see a screen showing a file with the date for its name starting with the year, then the month and then the day. If you get something that resembles the following then it has worked. You should see a screen showing a file with the date for its name starting with the year, then the month and then the day. If you get something that resembles the following then it has worked.
 +
 +{{:​fester:​ca3bdefe6e298157c29c0ffc850eb6f2.png}}
  
 So the “20160517.db” file in the screen shot was created on the 17/05/2016. So the “20160517.db” file in the screen shot was created on the 17/05/2016.
  • fester/additional_configbackup.txt
  • Last modified: 2017/06/24 16:24
  • by dan