Solved

Special Backup in a Linux server

Posted on 2013-01-30
2
317 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

More Than Just A Video Library

Train for your certification. Learn the latest DevOps tools. Grow your skillset to do better work.

At Linux Academy, we release new training modules every week so you'll always be up to date on the latest tech.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

691 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