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.
2
votes
2answers
132 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 ...
1
vote
2answers
2k 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"?
2
votes
1answer
2k views
Why can't I copy my DVD with dd?
I tried dd, dd_rescue and ddrescue, all failed. I thought these tools bypass the filesystem and make a bitwise copy.
dd is fooled, it finishes but just produces a small file and states it's finished.
...
1
vote
0answers
169 views
Can I get the backup option of cp and mv to work with directories?
--backup[=CONTROL]
make a backup of each existing destination file
The man page does say that it works on file. It doesn't seem to have any effect on directories. Is there anyway to make this ...
0
votes
0answers
45 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 ...
4
votes
1answer
380 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 ...
7
votes
3answers
5k views
Is it possible to mount a gzip compressed dd image on the fly?
I like create an image backup for the first time I'm backing up a system. After this first time I use rsync to do incremental backups.
My usual image backup is as follows:
Mount and zero out the ...
1
vote
1answer
118 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 ...
3
votes
1answer
418 views
Where can I look for backup script?
I want find out where the backup script of a Fedora 8 server is. I haven't found it so far ( my Linux knowledge is very spare). I looked with crontab -l and I only can find a tempdelete.pl. Than I ...
3
votes
0answers
352 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
368 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
67 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 ...
3
votes
1answer
1k 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
...
2
votes
1answer
236 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 ...
6
votes
5answers
916 views
force copying a corrupted home directory
I have a home directory in a disk that has a lot of corrupted files. I am trying to save most files as possible. I am trying to create a backup of my home directory on an external drive using
tar ...
3
votes
1answer
238 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 ...
19
votes
9answers
861 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 ...
3
votes
1answer
851 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 ...
5
votes
3answers
4k views
Howto read SMS stored on a SIM card?
I have an old phone with a telephone card (SIM card) inside. The telephone has an infrared interface on the side.
I want to read out my contacts and stored SMS messages from the phone, either via ...
3
votes
2answers
162 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
90 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
1answer
142 views
Creating a backup script involving screens and java? [closed]
Hi guys I use centOS 64bit 5.7 and I need to create a backup script
What I want it to do:
screen -r example
command into java
pause for x amount of seconds
exit screen
zip/rar a folder which and ...
2
votes
2answers
147 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
260 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, ...
3
votes
1answer
2k 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 ...
3
votes
1answer
218 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 ...
4
votes
3answers
926 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 ...
3
votes
3answers
425 views
Is creating a sparse image using dd appropriate for backup/restore from a RAID?
I have two non-networked servers, each with 1.2TB of storage in a RAID5 config on an LSI MegaRaid 9240-8i controller. I have been trying without success to get Symantec Ghost to image one machine to ...
4
votes
2answers
4k 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 ...
1
vote
2answers
119 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 ...
1
vote
2answers
304 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 ...
1
vote
1answer
542 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 ...
0
votes
2answers
296 views
Backing NTFS in linux
Is partimage ready for NTFS volumes ? it said that support for NTFS is experimental , is that safe for production ?
Thanks !
6
votes
3answers
646 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 ...
2
votes
1answer
985 views
Encrypt files using gpg (and them symetric encrypting the key) - is it a normal thing to do in the *nix world?
I read a lot of articles about using gpg to encrypt email, but I would like to use it to encrypt some files - mainly a bunch of *.isos. I'm going to describe what I thought I would do, so you can ...
3
votes
1answer
459 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 ...
3
votes
1answer
225 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 ...
1
vote
2answers
108 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
339 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
133 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?
5
votes
2answers
2k views
Can I automate tar's multi-volume-feature?
Ok, so I've just had a read through this page after a way to improve my current backup solution on my Debian server. Tar seems to be offering a quite nice multi-volume feature, although when I try it ...
2
votes
2answers
418 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 ...
4
votes
1answer
498 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
188 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 ...
5
votes
2answers
3k views
Backup or snaphot tool for ext4
I'm looking for a backup tool for ext4, which can take a copy from a running FS like /var with no collisions in system after recover such FS. I know BSD dump has an '-L' option, which tells him to ...
7
votes
2answers
864 views
How to create a snapshot in btrfs, and then rollback to it after some work?
What are the commands to use in btrfs 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?
8
votes
2answers
1k 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 ...
8
votes
1answer
2k 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?
6
votes
3answers
1k views
How to create a read-only snapshot in btrfs?
As far as I understand, the snapshots made by btrfs subvolume snapshot are writable by default and are visible at a certain path under the mountpoint of your btrfs volume.
How to setup the system so ...
8
votes
2answers
233 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 ...