Difference between revisions of "Excluding Select Folders From Being Backed Up"

Line 11: Line 11:
 
  skip: .  
 
  skip: .  
 
'''NOTE:'''  An easy way to create the file without editing it by hand is, first, make sure you're in your new data folder, and then use the following command:  
 
'''NOTE:'''  An easy way to create the file without editing it by hand is, first, make sure you're in your new data folder, and then use the following command:  
* echo 'skip: .' >.nsr
+
echo 'skip: .' >.nsr

Revision as of 15:23, 22 January 2020

There are times when you might be storing a large static dataset in your home directory, but you do not need that data backed up to our nightly tape/disk-based backup system. If this is the case, you may configure your data not to be backed up by that system.

To exclude your data from our backups:

  • Move your static data (including its subfolders) into a separate folder in your home directory.
  • cd to your new data folder.
  • In your new data folder, create a file named .nsr and edit it to include the following:
skip: . 

NOTE: An easy way to create the file without editing it by hand is, first, make sure you're in your new data folder, and then use the following command:

echo 'skip: .' >.nsr