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
5 views

Can I change the exclude file list while running rsync under a cron job

I am using Fedora 20, MATE desktop, zshell. I have started a cronjob to run, every evening, an incremental backup using rsync, closely following the suggestions here. After the first run yesterday, ...
23
votes
5answers
18k 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
votes
1answer
25 views

Raspberry Pi backup server (Mac & Windows)

I would like to set up my raspberry pi model B and my 2TB hard drive as a backup server for both my windows pc and my mac. I would like to partition my hard drive such that 300GB is for mac time ...
3
votes
2answers
653 views

What is the expected performance of obnam? Or: why is it so slow?

I've been playing around with obnam these last few days, and although it looks very promising and seems to offer basically everything I ever wanted in a backup tool, I am pretty disappointed in its ...
0
votes
1answer
14 views

ZFS backup advice with another server

I currently have two servers both have the exact same hardware, disks, etc. One server (server1) is going to be the "main" server. It's basically a server with raidz2 that has SMB shares on it that ...
0
votes
1answer
1k 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 ...
1
vote
2answers
40 views

Compare directory trees regarding file name (and size and date)

I want to check the results of a restore from backup. This is, because TimeMachine on MacOS gives me some weird errors and warnings and I want to make sure, everything is in its place again after ...
3
votes
0answers
50 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 ...
0
votes
2answers
75 views

What root directories should I back up? [duplicate]

I intend to start incremental backups of my Fedora 20 system, and would like to know what root directories I should include, and what directories it is useful to exclude. I know there is a lot of ...
0
votes
2answers
2k 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
395 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 ...
4
votes
1answer
8k views

What does 'mount point' mean in a Linux installer?

While installing Linux, it asks for a 'mount point' selection. I gave it /, but I don't know the exact meaning and aim of this. Also, now I want to create one more mount point, /home in my machine ...
28
votes
7answers
10k views

Recovering accidentally deleted files

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

Backing up Linux server to Windows domain

I'm maintaining a small Linux workstation/server in a Windows-domain-based environment. Apart from being in the same network, the Linux computer is not connected to the domain. Until now, I'm using a ...
0
votes
2answers
796 views

Backintime Linux desktop backup to a Synology DiskStation

Backintime doesn't support plain SFTP backends so it does not seem to be easy to setup a remote backup to a Synology Diskstation (in my case a DS214 with DSM 4.3). Backintime supports SSH/rsync based ...
0
votes
2answers
8 views

Backup and restore IMAP mail account with (open source) Linux tools

Which Linux tools help to backup and restore a IMAP mail account including all mail and subfolders? I expect disconnects for large IMAP accounts because of ressource limitiations on the server ...
0
votes
1answer
30 views

Backup to flash drive using rsync

I've decided to make a full backup from my SSD disk to flash drive. According to archwiki general backup is done with following command: rsync -aAXv ...
3
votes
1answer
2k 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 ...
2
votes
2answers
57 views

How can I capture a consistent snapshot of a directory and all its children?

We have an application that periodically backs itself up to a directory on the local file system. Inside this directory are several more files and directories. I want to produce a "snapshot" of all ...
2
votes
1answer
46 views

Shutdown script seems to be executed twice

I have a small backup bash script that I wrote for my computer at work. I have copied the script into /etc/rc0.d/ and called it K01backup so it is executed before anything else upon shutdown. It backs ...
0
votes
1answer
14 views

Backup and restore of raid1 device, after OS upgrade

We have a physical RedHat server with two 60GB local disks, and two RAID 1 devices on them. There are also a few multipathed SAN luns. Disk /dev/sda: 60.0 GB, 60022480896 bytes Device Boot ...
0
votes
0answers
11 views

Want to setup a dropbox sync drive

Is there way to setup a small computer, or raspberry pi, etc. to hold a hard drive, sync it with dropbox and allow access (even if just read only) to the drive through USB to another device/computer? ...
3
votes
2answers
73 views

What's an effective offsite backup strategy for a ZFS mirrored pool?

I use a ZFS pool consisting of two mirrored disks. To get offsite backups going I've purchased two more disks. My initial plan was to create the offsite backup by attaching a third disk to the ...
4
votes
3answers
200 views

Automatic login via ssh (no GUI environment installed / no ssh-agent available)?

I have three systems, and I want to have them doing backups between them periodically. The two of them, have Debian Wheezy installed and the other one has Ubuntu 12.04 installed. Only the Ubuntu has a ...
0
votes
1answer
40 views

Shell script runs differently when schedulled with cron

I have a strange problem with my backup script. To begin with, this is the backup script: ########################################################### # CODE BEGINS HERE ...
2
votes
1answer
32 views

Making an exact copy of a Windows instalation

My goal is pretty simple: I need to make an exact copy of a windows partition. Then I can wipe it down, play with it and when I'm done, I can re-copy the partition back and have everything back in ...
6
votes
2answers
10k 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
0answers
45 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 ...
2
votes
0answers
34 views

duplicity: how to create & restore full system backup

I would like to create a full system backup using the duplicity. Accordingly, I created a backup of the root directory /, excluding /proc, /sys, /tmp, and /mnt. However, when trying to restore the ...
2
votes
1answer
452 views

Incremental file back up by date

Is there any backup tool that supports partial back up by date? What I mean is that I have some small drives such as on a laptop that can't hold a full copy of all the files on an external 2TB drive. ...
0
votes
0answers
44 views

Scheduled job to move files from web server to NAS

I have a website hosted on a shared server. Once a week a cron job runs on the web server to tar the www folder and export the MySQL database to a password protected backup folder. I have a Synology ...
2
votes
1answer
88 views

Send backup by email with crontab

I use this cron job to do a backup of /home/blah/ each day at 01:00 a.m. : 0 1 * * * tar -zcf /home/blah/backup.tgz /home/blah/ In fact I would prefer that an email is sent to me with the .tgz file ...
1
vote
2answers
41 views

Download all pages linked on a page in a certain region

I would like to download my users activity page of this Unix&Linux with wget and all pages that are linked in the activity list. I tried wget -m -l 2 which should mirror the site recursively ...
0
votes
1answer
31 views

Rsync doesn't skip existing files

I use rsync to backup all the files from a specific folder in a USB drive connected to my Mac (Osx 10.9) to a folder of my home network NAS. The problem is that rsync replace all files and it does not ...
1
vote
0answers
39 views

OpenLdap - restore backup - slapcat/slapadd

Im using slapcat to make backup like this: slapcat -n 1 > ${BACKUP_PATH}/ldap.domain.com.ldif Then import using slapadd: slapadd -F /etc/ldap/slapd.d -n 1 -l ldap.domain.com.ldif I can't ...
2
votes
2answers
55 views

Secure Remote Backups Using Duplicity

The recent take-down of codespaces got me thinking about off-site backup processes (which I currently perform manually with password entry). I have been reading tutorials showing how to automate ...
1
vote
1answer
36 views

LVM Snapshot mount read-only or not?

In this page of Linux LVM Howto it's said that "LVM2 creates read/write snapshots by default". In this other page of Red Hat docs it's said that "Because the snapshot is read/write, you can test ...
2
votes
1answer
21 views

Is it possible and how to merge identical files between different snapshots in a btrfs file system?

I regularly use btrfs's snapshot to backup the whole system, but it's redundant to have identical files between different snapshots. Commonly, for example, I took a snapshot of @ as ...
3
votes
1answer
301 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 ...
0
votes
0answers
223 views

How can I migrate a bully (reaver alternative) session from Kali to Ubuntu?

I'm running bully on Kali Linux and this is the output : [!] Received disassociation/deauthentication from the AP [+] Rx( ID ) = 'NoAssoc' Next pin '99728298' [+] Rx( M5 ) = 'Pin1Bad' Next ...
0
votes
0answers
17 views

Proper file system for an External Hard Drive to work well on Linux [duplicate]

I have a External Hard Drive (EHD) I want to use to backup the data on my Linux laptop. I want to know how I should format my EHD for it to work correctly with Linux. Thanks.
5
votes
0answers
349 views

Cleanup of temporary file ~/.cache/duplicity/temp failed

Often when I run Duplicity I see an error message like this at the end of the run: Cleanup of temporary file ...
1
vote
1answer
44 views

At Backup, when would the filesystems inode numbers matter?

background: Being somewhat of a coward I have up to now dd whole filesystems for backup. Major drawback has become the excessive use of memory for those complete backups (which unfortunatelly also ...
1
vote
1answer
62 views

Wildcards in exclude-filelist for duplicity

I am trying to exclude a "bulk" folder in each home directory from the backup. For this purpose, I have a line - /data/home/*/bulk in my exclude-filelist file. However, this doesn't seem to be ...
1
vote
3answers
122 views

What should I include and exclude with rsync to back up my system?

I have spent all day experimenting with rsync exclude-from and include-from, no success and completely lost. None of the examples or help I can find answer my exact, but quite simple requirement, and, ...
2
votes
1answer
50 views

Is archiving the entire filesystem from the root an effective backup strategy?

I am looking at my server through WinSCP and thinking I could tar the lot, save locally, then if starting a fresh identical server later down the line, re-upload and overwrite saving me the initial ...
1
vote
4answers
521 views

Multiple Mysql databases backup tool?

My OS is Ubuntu 10.10. I have several small sites (all on various shared hosts) and I'm thinking that it'd be probably good idea to regularly backup mysql databases from these remote shared hosts. I ...
2
votes
3answers
595 views

Debian 7.1: duplicity error when using gdocs backend

I've installed duplicity backup tool plus python-gdata library on my debian 7.1 amd64 system. When I want to use duplicity to store my documents on Google Drive, it shows this error after asking for ...
1
vote
1answer
554 views

How to mount a Clonezilla img to extract files?

I have a large Clonezilla image of a CentOS server that had a 500GB drive partitioned into boot, OS, and data partitions. I would like to mount the backup image so I can extract some files as I no ...
0
votes
3answers
42 views

Backup using rsync

Last time I backed up my data by copying and pasting my home directory into my external hard drive. Since then, I have added and deleted files from my home directory. I want to update that directory ...