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)

0
votes
0answers
71 views

Bash, find and delete old files

Write script for backup files and delete old: #!/bin/sh BACKUPDIR=/var/backups/files ROTATE=1 mkdir -p $BACKUPDIR CURRENT="$BACKUPDIR/`date +%Y-%m-%d`-files.tar.gz" cd /var/ && tar czf ...
0
votes
0answers
15 views

A question for old unix gurus or simply older SVR4 users: backup output

On SYSVR4(AT&T 2.1) i want to make a backup full of /dev/root i did this bkreg -a varfull -o /:/dev/root -c demand -m ffile -d disk -t mytb1 varfull is tag,dev/root is my fs wich i want to ...
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 ...
4
votes
1answer
116 views

Automatic and reliable back up of data

I have a lot of lossless music on my computer. Unfortunately, sometimes (now quite rarely) they got corrupt and I had to replace them with my backup from an external HDD. The backup was done manually ...
0
votes
0answers
7 views

The Zentyal has no backup service?

I'm use an Zentyal Linux, but I didn't found any program for I make backup. Exists for it? Thanks
3
votes
1answer
827 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 ...
0
votes
0answers
11 views

Mount Reverse-encrypted encfs backup on a second computer

I use a Mac with an encrypted hard drive. I've a lot of videos in a directory "videos", which I backed up using encfs to Google Drive. Since I don't want to encrypt the "videos" directory on my hard ...
2
votes
1answer
25 views

What are portability of backup, remote backup and networked backup mean?

From the book Linux Administration Made Easy: When deciding on a backup solution, you will need to consider the following factors: Portability − Is backup portability (ie. the ability to ...
2
votes
1answer
40 views

rsync over SSH sometimes very slow--other times maxes out bandwidth

I have a bash script set up on computer A (Mac OS X) set to run every five minutes via a cronjob. This script checks for new files on remote computer B (Gentoo Linux) then rsyncs any new files to ...
1
vote
1answer
54 views

Debian's corresponding command for add-apt-repository?

I want to run this in Debian 8.1 sudo add-apt-repository -y ppa:nemh/systemback sudo apt-get update sudo apt-get install systemback but I cannot find add-apt-repository in Debian 8.1 and its ...
0
votes
0answers
19 views

How to start GUI of Deja Dup in Debian 8.1?

I installed Deja dup by sudo apt-get install deja-dup but I cannot find it in Search. It appears in commandline, but not like in Ubuntu like here. I did not find any GUI for deja-dup in apt-cache ...
0
votes
1answer
17 views

To backup to XFS disc by imaging and file-system level

I am interested in image the internal HDD and backup just the filesystem file as backups. My external HDD is 2TB while 100 GB is only used in my internal HDD. Both methods are welcome here. Code ...
3
votes
2answers
308 views

unable to back-up data from android tablet to laptop using tar!

I'm using tar to back-up data from my android tablet to laptop. But it is showing some error. ravbholua@ravbholua-Aspire-5315:/run/user/ravbholua/gvfs/mtp:host=%5Busb%3A002%2C003%5D/65537/9$ tar -cvf ...
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 ...
1
vote
1answer
23 views

To recover OSX data in Debian

I have had taken backups by TimeMachine and now my Macbook Air 2013-mid finally died so I have to rescue files in Debian 8.1. However, it seems that no backups of so directories have been taken. I ...
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 ...
4
votes
2answers
621 views

Rip an audio CD 1:1

Is there a way to rip an audio CD to an ISO9660 file? I've tried simple things like dd in the past and it hasn't worked. I'd like to essentially have a mirror image of exactly what's on the disk, not ...
2
votes
0answers
18 views

Specify the format of application temp/backup files in kde

Many text editors will create temporary or backup files with the format ~<filename>. Because of this, folders appear very cluttered with tons of files duplicated in this way ( <original> ...
0
votes
0answers
20 views

Memory dump with u-boot on conga-QMX6

I'm starting work on a preconfigured (working) system based on conga-QMX6 (with ubuntu and u-boot). Before start changing the system I want to make a complete dump of memory for restore it if ...
1
vote
2answers
18 views

Include subdirectory from excluded directory in a tar archive

I have the root folder USA and sub-folders California and Texas. Texas is an excluded sub-folder but it has a specific file in it that I'd like to include in the tar backup. Let's call this file ...
1
vote
1answer
23 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
19 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
362 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
554 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
58 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?
1
vote
2answers
35 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
54 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
19 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
38 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
41 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
3k 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
26 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 ...
1
vote
1answer
36 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
18k 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 ...
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
85 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
34 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
64 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
27 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 ...
2
votes
1answer
29 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
396 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
15k 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
33 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
102 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
26 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
38 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
321 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 ...