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)

1
vote
1answer
21 views

Multiple questions about mounting multiple partitions (in Ubuntu 14.10)

I've got a question about how the linux mount command works when used multiple times. Through an unfortunate series of events (multiple crashes in Ubuntu), I've decided that I wish to simply back up ...
1
vote
1answer
20 views

how to use dd to backup second linux hard drive from os x?

I have a MacBook with Linux installed on the primary hard drive. On an external USB 3.0 drive, I have OS X installed. The external drive has plenty of space so I would like to boot up OS X and make ...
0
votes
1answer
18 views

Old file deletion script

I used this script: #!/bin/sh for file in "$( find /var/backup/web2 -type f -mtime +1 -maxdepth 1 -exec rm -f {} \; )" do rm -f $file done exit 0 to delete files older than 24h from fixed ...
6
votes
1answer
328 views

Is btrfs suitable as backup filesystem?

Right now I have a pretty traditional backup filesystem structure on top of ext4. Every time a backup is made, a new folder backup-DATE is created to which files are rsync'ed (with hardlinks made ...
5
votes
1answer
526 views

Rsnapshot destination full - how to safely rerun?

I ran my Rsnapshot backup today but my external drive became full half-way through the incremental backup (I have about 20 incremental backups now). rsync: write failed on "<path>": No space ...
0
votes
1answer
44 views

Linux dump, which folders/files are excluded from first backup?

When using dump, level 0, to save the whole concerned partition : $ dump -0f /path/to/target/drive / I'm said some folders are excluded (I guess, at least, tmp folder). I have not found more detail ...
9
votes
2answers
4k 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?
3
votes
1answer
3k views

Clear unused space with zeros (btrfs)

How to clear unused space with zeros ? (I am asking for tool for btrfs filesystem) I'm looking for something smarter than cat /dev/zero > /mnt/X/big_zero ; sync; rm /mnt/X/big_zero Like ...
1
vote
2answers
29 views

Using rsync to Synchronize Directories

I have a script that I am using to backup a directory on a CentOS 6 machine. It's very basic but it is executing rsync -a remote:~/original ./backup Which works fine it is copying the contents of ...
0
votes
1answer
51 views

Linux : Best way for cloning/backingup

I browse various solutions for backing up : tar (and his -N option, for incremental tar files) dump (and his level feature backing only new files, if wanted) fsarchiver CloneZilla ... Starting ...
1
vote
2answers
17 views

How to check if a dump-generated backup is OK?

When dumping my FS with dump, e.g.: $ dump -0f /path/to/usb/nonexistant-file-name / I get a binary file, extension-free. It's normal. I regularly store such backups, if ever I need to restore one. ...
0
votes
1answer
16 views

Linux dump(8) outputs nothing

I am dumping my live partition. All works ok in terminal. Until the 100%. I dump from live mint partition to an USB key. $ dump -0f /dev/sdc1 /dev/sda2 Once done, I look at my USB key. Nothing on ...
-2
votes
1answer
31 views

Linux “dump(8)” command

I plan to use dump(8) for backing up a Mint disk. Some doc about: http://linux.die.net/man/8/dump Hum... is it deprecated ? (dont work with ext4) Is it a Debian & co (ucuntu, mint) solution ? ...
1
vote
1answer
35 views

Backup system image.

Is it possible to create an image backup of my installed linuxmint. I would like to be able to have a restore image to reinstall Mint as I do with windoes system image backup (for instance). In ...
2
votes
3answers
2k views

Stop cron sending mail for backup script?

I have set up a backup script to back up world data on my Minecraft server hourly using cron, but because the worlds being constantly edited by players, tar was telling me that files changed while ...
0
votes
2answers
24 views

Linux tools for deleting backups when they get too old?

I was looking at SQL Server 2000 today, and it has an argument in the EXECUTE command called -DelBkUps for deleting backups that are of a certain age. Does Linux have any tools for deleting backups ...
2
votes
1answer
743 views

Can I restore a single partition from a Clonezilla disk image?

I was thinking of performing a Clonezilla backup and was wondering what backup mode to choose. Generally speaking, Clonezilla offers the following backup options: savedisk: Save a full disk image ...
1
vote
1answer
30 views

Open source OS/File Backup solution [closed]

There are quite professional "OS/File" Backup solution from many vendors like Symantec BackupExec/Veeam. But those solutions aren't free & requires license. I am planning to build a open source ...
10
votes
7answers
17k views

System image of running Debian system?

Is it possible to backup a running Debian system to some kind of image file, that could simply be written back to another hard disk using dd in case of failures of the original (backed up) Debian ...
0
votes
2answers
5k views

Restoring a big partition to a smaller partition with Clonezilla

Some time ago I created a backup of an EXT4 partition with Clonezilla. Now the HDD crashed and I lost some important data. The size of the image of the partition is 50GB. I tried to restore this ...
2
votes
2answers
1k views

Best solution advice for backup to NAS over WAN

What is the best solution for daily backup of Linux folder to NAS server over WAN? Here is the situation: My customer has expressed a wish that source code for his project must be backed up every day ...
2
votes
2answers
57 views

How do I transfer installed packages and settings from one distro to another?

I've been exploring learning and about the Linux system via VirtualBox for a few month's and decided that I want to make it my main OS and install it on my hard-drive. I have a number of files, ...
1
vote
0answers
27 views

btrfs - snapshot of a parent subvolume excludes child subvolumes?

Let's say I want to exclude ever-changing logfiles from backups. Parent subvolume / Child subvolume /log I snapshot /. Looking at the snapshot, /.snapshots/today/log will be empty, correct? This is ...
3
votes
2answers
38 views

How to skip special / socket files during rsync transfer?

Using the following command. rsync --archive --delete --partial --progress --recursive --no-links --no-devices --quiet source target Using --no-links and --no-devices already. Getting the error ...
0
votes
0answers
18 views

Whats the right way of Data/Subvolume structure/hierarchy management using btrfs

My intention is to switch my filesystem from ext4 to btrfs. Currently I have 2 space disks with 4 TB each. I allready set them up in raid1 (using mkfs.btrfs -d raid1 /dev/sdx /dev/sdy) Then there ...
0
votes
1answer
2k views

Got fatal error during xfer (Child exited prematurely)

I have a backup server which takes backup of other servers and in few days back the backup server started experiencing error and the not able to take back. I think the error log bellow could describe ...
2
votes
1answer
16 views

Duplicity include/exclude directories & symlinks

I'm trying to configure Duplicity to perform a system-wide settings backup. Among other things, I'd like to backup settings in /etc/portage/, the file /usr/src/linux/.config and the KDE autostart ...
3
votes
2answers
371 views

ecryptfs mounted via command line, what do I need to backup?

I asked this question on the ecryptfs launchpad, but it expired there without answer. https://answers.launchpad.net/ubuntu/+source/ecryptfs-utils/+question/235226 It might be trivial, but I really ...
36
votes
7answers
14k views

Recovering accidentally deleted files

I accidentally deleted a file from my laptop. I'm using Fedora. Is it possible to recover the file?
2
votes
1answer
31 views

Backup on a remote server in an encrypted folder

Is there an easy way to backup your home directory on an online server in an encrypted folder? I heard of obnam which should be able to store encrypted with a GPG key somehow. What would be the ...
3
votes
1answer
98 views

Make Tar Incremental Backups into One Backup?

Well, I know this question is quite strange. I have done a lot of incremental backups. Now the total file size gets too large, because there are a lot of duplicate files with similar contents, and ...
5
votes
4answers
4k views

`cp -al` snapshot whose hard links get directed to a new file when edited

I am trying to take snapshots of a massive folder regularly. I have read here: http://www.mikerubel.org/computers/rsync_snapshots/#Incremental that cp -al takes a snapshot of a folder by simply ...
1
vote
2answers
22 views

Delete files that are not part of a bash array

Right now I backup the mysql databases using a cronjob everyday. Now that the server is getting full, I only want to keep one backup for every month, one backup from sunday every week and the last 7 ...
1
vote
2answers
32 views

Pack installed system in tar.gz file

I have arch linux installed, with partition scheme like this: /dev/mapper/lvm-root -> / /dev/mapper/lvm-home -> /home /dev/mapper/lvm-opt -> /opt /dev/mapper/lvm-pkg -> ...
8
votes
1answer
313 views

cp says it's removing files, but shouldn't be

Making a quick backup: root@guilmon:/mnt/backup/guilmon/home# cp -uvfrx --preserve=all /home/rena/ . The output is surprising - some files are said to be removed! removed ...
0
votes
2answers
45 views

rsync partial LVM volume to Remote Directory

Can I rsync a full hdd partition (which is inaccessible) to a remote directory? Inaccessible means it cannot be mounted, it was part of LV volume merged with other HDD which is faulty and removed ...
30
votes
5answers
24k 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 ...
0
votes
1answer
36 views

Hard Disk Clone Image Size

I've created an image backup for HDDA (partition) from HostA and saved on HostB ssh -c blowfish user@ip-or-hostname "dd if=/dev/sda1 | gzip -1 -" | dd of=sda1.gz conv=sync,noerror The HDD size is ...
0
votes
1answer
16 views

run remote command to save debian package list

I'd like to backup the package list(dpkg) of some remote computers to a backup server: all of them running Debian. I already configured the rsa key to login remotely as root on the other computers ...
0
votes
1answer
33 views

How do backups that use LVM work?

Some LVM tutorials seem to claim that one take a snapshot of a logical volume (LV), then backup the snapshot using another tool, then remove the snapshot. When the unspeakable happens, the user can ...
0
votes
1answer
47 views

rsnapshot backup not working?

I installed rsnapshot and configured it to make backup every hour. But the issue is all backups that are made not working. Let me explain to you, I made 3 backups hourly.0, hourly.1 and hourly.2. ...
3
votes
1answer
5k 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 ...
0
votes
0answers
23 views

Backup using rsnapshot not working

I have a server web based Linux and i want to make backup every hour using rsnapshot. this is my rsnapshot file configuration : config_version 1.2 snapshot_root /var/Majjane-Save/ cmd_cp ...
1
vote
1answer
28 views

What happens if I move the hard drives used by Rsync to another computer, and keep syncing them with it?

I realise the question is confusing, so allow me to elaborate. I apologise for the phrasing, as I wasn't sure how to put it. Here's the scenario: As my backup, currently my Mac launches Rsync every ...
10
votes
5answers
478 views

What Windows-related files are valueless to *nix users?

I have accumulated, from my time using Windows a good quantity of held-over filesystem copies and archives of system and data drives. I am trying to distill them down to the usable parts while ...
3
votes
0answers
114 views

Configuring networked printer to archive print jobs

Our existing infrastructure has a shared printer running on a windows machine. It may be upgraded to a real network tcp/ip based printer in the near future. How can I make it automatically keep a ...
9
votes
4answers
633 views

filesystem for archiving

I have some complex read-only data in my file system. It contains thousands of snapshots of certain revisions of a svn repository, and the output of regression tests. Identical files between snapshots ...
1
vote
2answers
216 views

Is it better to archive/move mail based on mtime or ctime?

I have been using a perl script to archive mail found here The script uses ctime to process and decide which month sub folder to place mail. In most cases this is fine since the ctime = mtime and ...
1
vote
1answer
443 views

tar -c Error Messages and Source Files?

During a tar archiving operation with tar -cvf archive.tar source does the resulting tar archive that reports a file changed as we read it error still contain "some version" of the source file that it ...
3
votes
1answer
213 views

I need an fstab example for archivemount (want to umount without my password)

I am using archivemount to mount one of several tar.bz files in Ubuntu. It works very nicely for me. I mount and umount frequently (I'm in a testing phase). I want a solution that will allow me to ...