Solved

Special Backup in a Linux server

Posted on 2013-01-30
2
313 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

830 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