Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

You need to create a directory in your home called '~/A_sauvegarder':


Volet
mkdir mkdir  ~/A_sauvegarder


Inside this directory you need to create symbolic links (with 'ln -s ...')  to all the directories/files you would like to get backed up every weekend.


Volet

cd  ~/A_sauvegarder
ln  -s  target  [link_name]

The '-s' is very important!!!

'target' can be any directory or file you would like to get backed up.

You only need to put a 'link_name' if you want the name of the link to be different from the target directory or file you link to. For example, if you want to get your directory '/data_space/Project/Images' get backed up your command to create the link could look like:

      ln -s  /data_space/Project/Images

However, if you have more than one directory with the same name you would like to back up, for example, '/data_space/Project_A/Images' and '/data_space/Project_B/Images' you could create the links with:

      ln -s  /data_space/Project_A/Images   Images_A
      ln -s  /data_space/Project_B/Images   Images_B

Check the links you created with a simple:

Volet
ls -l

3) Make sure the total amount of your data stays below 1 TB

Since, as usual, disk space is limited, your data will NOT get backed up if the total amounts to more than 1 TB. You can check the total space of the data you would like to get backed up with the command:

Volet
du du  -Lhsc Lhsc  ~/A_sauvegarder/*


That's all folks!

...