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)

2
votes
1answer
51 views

Let root read all files on NFS directory, even though server has root_squash enabled

I have a NFS directory that is used by multiple users, and hosted on a NFS server that I do not control. I would like to back up the contents of the NFS directory from my client machine. My first ...
1
vote
1answer
26 views

checksum of corrupt file

A backup system ought to be able to handle several scenarios including file deletion, theft, natural disaster and file corruption. [http://en.wikipedia.org/wiki/Data_loss] In terms of file ...
2
votes
2answers
5k views

cronjob for automatic DB backup to date prefixed file

I am using the latest Linux Mint. I was wondering if it's possible to create a special cronjob for a database backup. In my /etc/cronjob file I have the following code: # Minute Hour Day of ...
2
votes
1answer
914 views

crashplan desktop alternative?

Is there a good alternative (free software) for Crashplan for UNIX desktops? There is a plethora of backup systems out there, but there doesn't seem to be one that rivals with Crashplan. The ...
5
votes
3answers
1k 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 ...
1
vote
1answer
33 views

How to backup files with only a minimal resue system?

I only have access to my vserver via a minimal rescue system over ssh. It does not have scp or ftp installed. Is there an easy way to backup the files, preferably directly to an ftp server, but to ...
0
votes
0answers
33 views

Backup MySQL Database using gzip and send it directly to FTP Server using CURL

I have a NAS Server and i want to backup the mysql database in gzip format then upload it to ftp server using curl. I also want the filename of the backup to have the current DATE. It is possible to ...
0
votes
0answers
28 views

Transferring files from a Linux laptop to a Windows laptop

How do I transfer my Linux Peppermint laptop files to a Windows 8.1 laptop? I'm a relatively new Linux user.
2
votes
1answer
243 views

Unreadable backup directory on a USB drive

The title pretty much sums it up. I was editing a script I wrote some time ago to automatically backup the contents of my Raspberry Pi SD card, and in the course of editing, I missed a "/", and so ...
2
votes
1answer
106 views

Automounts: All mounting and will not umount on its own [closed]

I have a few SLES 11.2 servers. They do something really strange with automount. We have nearly 500 possible automounts our users and their codes may need, including automount entries for each ...
4
votes
2answers
409 views

How to backup entire xen dom0 (on debian)

How do you go about creating a bootable backup ISO of my computer (dom0)? I have tried remastersys and this backs up everything but Xen does not work properly. LiveCDs also do not work. Does ...
1
vote
1answer
23 views

Tool for migration of service configuration

Is there a tool that handles generic migration of config? For example if I have httpd, postfix, MySQL and users and groups data, is there a tool that can extract the config data for each service so ...
1
vote
2answers
115 views

Databases backup with cron

I'm trying to set up a cron job in order to backup my databases daily. Here's what I wrote in my crontab file : 25 18 * * * root mysqldump -u root -p myPassWord --all-databases | gzip > ...
1
vote
1answer
266 views

Why has '-' been chosen as the backup file suffix for certain Unix system files?

Example: /etc/group-, /etc/passwd- Is there any motivation behind choice of the - sign (e.g. easier to recognize, process, etc.)?
1
vote
1answer
77 views

rsync initial sync

I'm new to rsync. I have a Linux machine with an external harddrive (ext3) and a Windows machine with an NTFS external harddrive. I connected the NTFS harddrive to the Linux machine and did a mirror ...
5
votes
5answers
193 views

Is it possible to have more than just one backup when editing text files?

Gedit and medit are two text editors that I know of that allow me to save a backup. So, if I create a file called temp.txt the next time I edit it and then save it, I'll have a backup called ...
27
votes
2answers
107k views

Compress a folder with tar?

I'm trying to compress a folder (/var/www/) to ~/www_backups/$time.tar where $time is the current date. This is what I have: cd /var/www && sudo tar -czf ~/www_backups $time" I am ...
4
votes
2answers
301 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 ...
2
votes
1answer
65 views

Should I increase inode count for a rsync backup volume?

Considering rsync used for incremental OS backup creates hardlink farms for all non-differing files, if I use it to backup a large, slowly-changing system regularly to a dedicated volume, I'm worried ...
2
votes
1answer
65 views

How to use a bootable USB stick and Linux to recover data from a broken hard drive

I would like to run a Linux installation on my Mac from a pen drive in order to create an emergency backup of my most important files. I do not know whether my hard drive is physically broken or just ...
2
votes
1answer
60 views

Using rsync for incremental backup, what happens when original full backup is due for deletion?

I have started an incremental back up, on an external hard drive, of my Fedora 20 data etc using the scheme from here, which produces a full back up on day 1 followed by incremental backups using hard ...
2
votes
2answers
326 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 ...
0
votes
1answer
185 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 ...
1
vote
0answers
20 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
0answers
398 views

How to use terminal to access iCloud Drive when Finder is not running

I would like to access iCloud drive from Terminal in order to create an emergency backup. Unfortunately, my installation of Mac OS Yosemite is not operational, so I am using recovery mode to create my ...
1
vote
0answers
26 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, ...
-1
votes
1answer
299 views

Raspberry Pi backup server (Mac & Windows) [closed]

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 ...
0
votes
2answers
229 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
1answer
70 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
1k 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
104 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
198 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 ...
2
votes
2answers
67 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
76 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
52 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
45 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? ...
4
votes
3answers
221 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
104 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
57 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
11k 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 ...
2
votes
0answers
150 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
1k 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
144 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
577 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
79 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
321 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
129 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
106 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
78 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
44 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 ...