Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a Debian Squeeze 6.0 box running an SVN hosting service all in a single HDD.

I have this important folder that I would want to transfer to the new HDD:

  • /backups

For the moment, this folder is into my single HDD with all the other system folders.

I would like to add a new sata HDD and transfer /backups into the new HDD so the backup files, which takes a lot of GB, are separate from the system files.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

That's quite easy:

  • format the new HDD with the partition table you wish (probably just one partition in your case), and put your favourite filesystem on it
  • transfer all data from your /backup to your new HDD
  • edit your fstab so that your new HDD will be mounted on /backup
  • voila.
share|improve this answer
    
What is the purpore of the fstab file ? –  Jonathan Rioux Jan 25 '11 at 15:22
1  
It's used to inform startup scripts which (also how) and where to mount the partitions. –  Hubert Kario Jan 25 '11 at 15:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.