amanda | CSIM Technical Notes

Tue Mar 25 11:28:57 ICT 2014

Transfer deleted accounts files to amanda

Move deleted user accounts files from banyan to amanda.
  1. Login to amanda and become root.
  2. Go to the disk ada7:
    cd /host/localhost/ada7
  3. Copy the deleted files from banyan:
    ssh on@banyan sudo -A tar cf - /home/\*/deleted | tar xfBp -
  4. Go to the deleted directoriy on the system disk:
    cd /deleted
  5. Repeat the step 3.
  6. Login on banyan and become root.
  7. Go to the home directory:
    cd /home
  8. Remove the deleted account files:
    rm -rf */deleted/*

Posted by Olivier | Permanent link | File under: administration, backup