• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 332
  • Last Modified:

Special Backup in a Linux server

I am completely fool for linux, and I need to do a special Backup for some folders in a Linux server, can you share me the basic commands to copy these folders in an external  usb hard disk.
Apolo Victores
Apolo Victores
2 Solutions
Thomas GrassiSystems AdministratorCommented:
cp -pr /file /file
You need to copy files to the hard disk.  For doing so, you would first need to mount the hard disk.  If your Linux is GUI and/or it is mounting it as you plug in it, that would be really great, and you should know the path of where it is mounted.

Once you get the first part, all you need is a copy command

cp -pr /path/folder  /path/mounted/external/hard/drive
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now