Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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
It's used to inform startup scripts which (also how) and where to mount the partitions. – Hubert Kario Jan 25 '11 at 15:29

Your Answer


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.