Backing up is the process of making copies (a backup) of data which may be used to restore the original after a data loss event.

learn more… | top users | synonyms (1)

10
votes
1answer
3k views

How to create a read-only snapshot in LVM, and then rollback to it after some work?

What are the commands to use in LVM in case I want to: create a read-only snapshot of a volume; (do some experiments in the volume); and then rollback the volume to the snapshot?
1
vote
1answer
326 views

Backup from remote server

I'm a novice so go easy. :) If it makes a difference I'm using Ubuntu/Debian machines. I want to back up our dedicated web server to a local location in-house. This is for many reasons - I know that ...
5
votes
2answers
1k views

How to create a snapshot of a physical disk?

I have Windows 7 installed on one of my disks. I want to boot this Windows system in my Xen HVM, but I do not want the changes to be permanent. So I want to create a snapshot of my Windows 7 ...
3
votes
1answer
445 views

HP-UX 9: Backup filesystem using tar

So I've got an HP-UX 9 box that I'm trying to backup, first to a tape with fbackup, to no avail, and now to a folder shared over NFS. I'm using the command "tar -cvf /nfs/Results/backup.tar /" where ...
3
votes
4answers
4k views

Backup of LVM2 logical volume

I'd like to make backup on external drive of LVM2 logical volume in dd manner. Approach I consider is to make lv on extranl drive with identical size copy with dd (Please let me know if you see ...
2
votes
2answers
164 views

What should I teach in my Linux class? [closed]

I'm teaching a basic Unix class using Ubuntu. We've already covered basic Unix stuff such as: bash shell scripting file and directory permissions filesystem hierarchy common commands I would like ...
3
votes
2answers
4k views

How to copy qemu raw images?

I want to backup kvm virtual machines and copy machine's images another path or usb disk? How to copy " qemu raw images"?
4
votes
1answer
603 views

Can an eCryptfs Home Directory Be Backed Up Remotely

The main idea I want to have is a backup script run rsync to copy my /home/.Private/user directory off to another server. This would allow the backup script to have no knowledge of the data, but mean ...
3
votes
1answer
358 views

FLAC correctness using MD5 placed in STREAMINFO

I know from [Sources], that FLAC computes CRC and MD5. What I am afraid that flac --test only does CRC test - as stated in man flac : same as -d except no decoded file is written . How to check flac ...
0
votes
0answers
48 views

Backing up to DVD [duplicate]

Possible Duplicate: Splitting large directory tree into specified-size chunks? I have a partition that is about 14G and I need to back it up to DVD in such a way that I can use each disc to ...
3
votes
1answer
170 views

Need a little help with --remote-schema option for rdiff-backup

I'm running the following command: rdiff-backup --remote-schema '%s' 'sudo /usr/bin/rdiff-backup --server \ --restrict-read-only /'::/etc /var/backups/hosts/derp It's backing up /etc from ...
21
votes
9answers
2k views

How to keep track of changes in /etc/

I would like to keep track of changes in /etc/ Basically I'd like to know if a file was changed, by yum update or by a user and roll it back if I don't like the chage. I thought of using a VCS like ...
1
vote
1answer
242 views

Backing up chroots for host reinstall

I've had my workstation for a couple of years now and its slowly become a complex beast, taking on many roles for my dev and test work. I have done some research and was thinking of setting up some ...
2
votes
2answers
1k views

backup MSSQL database to a client's local disk over network

I'm trying to backup a MSSQL server from linux. I'm able to connect to the server using tsql (from the freetds project), and I'm even able to backup the database on the server using the backup ...
3
votes
0answers
448 views

How to improve this backup script? [closed]

I wrote this backup script. I run rsync, tar and a dump of mysql. I'd like to add some features like email alert or some kind of statistic. Here is the script: #!/bin/sh DATE=`date +%D-%T` ...
4
votes
4answers
553 views

How can I move the entire OS to a different server?

I want to install RhodeCode on a test server at work. However, the internet access is restricted for that server, and RhodeCode has a lot of dependencies (I don't even have Python on that server). So ...
1
vote
1answer
81 views

Back up particular package and its dependencies

It may sound like a silly question, but I'm new to Linux and eager to know if there is any way to do this. Okay, my question is: can we take a backup of a particular package and its dependencies? For ...
2
votes
1answer
369 views

Input a list of files & directories to be copied with ditto

I have a short list of files and directories of which I would like to make a flat copy of using ditto in a bash shell. There are approximately 8-10 files and/or directories that need to be copied. I ...
4
votes
1answer
3k views

bash force copy over same file

Our sysadmin has created a backup system that creates snapshots of the hard drive. When I try to restore an older version from the snapshot: cp /path/to/snapshots/foo.bar /path/to/folder/foo.bar ...
3
votes
1answer
333 views

Faking rsnapshot initial backup

I'm currently using plain and flat rsync to backup my files, meaning I have no incremental backups. A few days ago I became aware of the existence of rsnapshot and after looking at the man page I ...
5
votes
1answer
2k views

Creating A Bootable Backup Copy Of System Drive

I'm in charge of a Linux fileserver at my workplace, and since this fileserver holds the company's accounting data, I've got to make sure that there are backups. Right now, my main solution is based ...
3
votes
2answers
207 views

Backup selinux system running strict

I have a cron job that is backing up a SELinux system running in strict mode. The problem is that SELinux wants to deny access to to the backup script since it wants access to every single file on the ...
1
vote
1answer
101 views

Backup, without having to reinstall 3rd party programs?

Say I back up the / partition with cpio and the disk fails. Would I have to reinstall all third party programs if I used cpio to restore the / on a new disk? Or is backing / up enough to keep them ...
2
votes
2answers
180 views

What don't I need to backup?

I'm trying to do a simple system backup (with cpio or tar), and I was looking for what I need to back up and found this question. The answer was basically, "it depends on what you're running on your ...
3
votes
3answers
329 views

Some basic questions about dd

I'm working on a system of how to back up partitions using dd and have been reading a lot about it. I have a few questions and assumptions that I would like to ask. These may seem a little noob-ish, ...
1
vote
1answer
693 views

Backup Manager and Cron : CentOs and Ubuntu 11.10

I have two dedicated servers: one has CentOS, the other Ubuntu. I installed backup manager on both servers. But I have two different behaviors. On CentOS: The backup of my files is "every night". I ...
3
votes
1answer
3k views

How to take and restore backup with an LTO tape drive in RedHat?

I can take a backup with an IBM LTO tape drive in RedHat 5 using mt and tar, but I can't restore it. I can't see previous backup content. Whenever I try to take a backup, I think that the new backup ...
4
votes
3answers
15k views

How do I mount a WD MyBook World network drive in linux?

I have a WD MyBook World NAS on my home network. I currently use this for Time Machine backups for my Mac but I'd also like to use it as a backup location for my linux box which is running Ubuntu ...
5
votes
2answers
8k views

rsync gives “chown <…> failed: Invalid argument (22)” with nfs share

I'm trying to back up my entire system to an external disk using rsync, via a shell script which is run as root: #!/bin/bash rsync -vSHPhhaX --numeric-ids --delete ...
3
votes
1answer
320 views

Is there a backup tool that recognized renamed/moved files/directories? [duplicate]

Possible Duplicate: Any way to sync directory structure when the files are already on both sides? I'm looking for a backup utility that recognizes files or folders in the source that have ...
5
votes
3answers
2k views

How store in a variable a file list that includes the backslash when needed?

Main question: I am writing a script to perform a backup. I make a list of files in the following way: LISTOFFILES=$(find ~ \( -name '*.[pP][dD][fF]' -o -name '*.[oO][dD][tT]' \)) The variable ...
6
votes
5answers
4k views

Backup whole hard disk Linux

I am looking for a method to backup a whole disk in case something is screwed up... I don't even know what to install on some special devices of the server, and every time it is not the same. ...
1
vote
2answers
137 views

Reinstalling Linux with backup

I'm using Linux (Ubuntu 10.04) for more than a year and I feel often that I need to reinstall it to newest version. I'd like to take most of my configurations and important settings to the new ...
7
votes
3answers
1k views

How to run a command when a directory's contents are updated?

There is a directory A whose contents are changed frequently by other people. I have made a personal directory B where I keep all the files that have ever been in A. Currently I just occasionally ...
1
vote
2answers
517 views

Best way to back up a system in its entirety?

I considering doing a complete re-build of my home desktop computer. The only thing that will actually be the same, will be the case. I have a 1 TB external hard drive I want to back up my 200 GB of ...
5
votes
2answers
512 views

Sync files from a mac to a flash drive - automatically?

I have a flash drive, let's name it FLASH. I want, when on my mac, when FLASH is plugged (and automatically mounted), execute a specific script and make ~/Documents to be automatically copied to ...
3
votes
1answer
841 views

How to recursively synchronize file timestamps across servers?

Suppose I run an rsync command to mirror a server, but forget to supply the -t option. The mirror will now have different timestamps to the original. What is the easiest way to fix this, without ...
1
vote
2answers
123 views

Use Linux to backup a MSWindows network?

Is it possible to use a Linux machine to backup everything on a Windows network? I would like to backup MS databases and also drives, so if a database record needs restoring, it can be done easily, ...
2
votes
1answer
471 views

Rsyncing multiple files with white spaces in the names

I'm trying to back up files onto a server, but I'm having problems with files that have white spaces in the names. I'm using this command in terminal: FILES="testing/space\ in\ filename testing/and\ ...
2
votes
0answers
163 views

restore duplicity backup from amazon s3 in debian

I have applied the script provided here to backup my stuff in debian etch and it works, I tried to reverse the SOURCE and DEST, but I can't do the restoration. What happened?
2
votes
2answers
586 views

Backup a Windows PC to a Linux Machine

What is a good backup strategy to backup a Windows 7 box to a Ubuntu box that are on the same network? The solution I am thinking would be to mount a Windows folder to Ubutnu then use rsync. But I'm ...
5
votes
1answer
656 views

Automated incremental backups to an external drive

Background A client needs an automated backup solution to an external drive (to be taken offsite weekly). I'd typically suggest rsnapshot (or perhaps rolling out a custom rsync script), but this ...
6
votes
1answer
323 views

Backing up and restoring a system user account

How would I go about completely backing up a user account and restoring it on a new system? The Home directory is just 'copy-and-paste'. But then what about things like the account password; and its ...
8
votes
2answers
2k views

Fastest way combine many files into one (tar czf is too slow)

Currently I'm running tar czf to combine backup files. The files are in a specific directory. But the number of files is growing. Using tzr czf takes too much time (more than 20 minutes and ...
10
votes
2answers
393 views

How to list files and folders that are not maintained by any DEB package

I am in the process of moving my files from one Debian machine to another so that I can use the old machine for a different purpose. I do not want to miss any file because I will be formatting the ...
1
vote
1answer
456 views

Copy/Backup all files except the most recent through scp

I have a program that is running on multiple machines and which is writing the results to ~/data/machine_name/, each time the results file exceeds 1MB the program moves on and write to a new file. ...
3
votes
2answers
1k views

best practice to backup config files

I want to setup froxlor on not fresh install remote server (Ubuntu 10.04.2). I take care of admin the server since two month. Before I start, the previous guy installed and config some services and ...
2
votes
3answers
3k views

linux cron: want to backup a folder

Hello I would like to backup a folder using cron on a centos. The folder c2duo_mms is located in /usr/local/src/djcode/c2duo_mms. I would like it backed ip every 1:00pm on Tuedays to my home folder ...
6
votes
1answer
726 views

How to create a list of all applications which were manually installed?

I use Fedora and I'd like to have all the package names in a list, but only the ones I installed myself, not the default ones.
2
votes
2answers
164 views

Completely Backing Up Linux Installation

I come from Windows, and I've been getting into Linux a little bit lately. Trying to make that my default OS for now. I've wanted to try out a couple different flavors of Linux. I spent probably a ...