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 VictoresIT Infrastructure Supervisor and Networking Sp.3MAsked:
Who is Participating?
 
Thomas GrassiConnect With a Mentor Systems AdministratorCommented:
cp -pr /file /file
0
 
farzanjConnect With a Mentor Commented:
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
0
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.

All Courses

From novice to tech pro — start learning today.