Solved

Special Backup in a Linux server

Posted on 2013-01-30
2
310 Views
Last Modified: 2013-02-04
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.
0
Comment
Question by:Apolo Victores
2 Comments
 
LVL 23

Accepted Solution

by:
Thomas Grassi earned 100 total points
ID: 38835407
cp -pr /file /file
0
 
LVL 31

Assisted Solution

by:farzanj
farzanj earned 200 total points
ID: 38835412
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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now