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
2answers
1k views

Add ssh user with minimum rights for backup [duplicate]

I have a small server running Debian and I want to add an account with SSH access for backups. The user of this account should have no console access. He can only transfer (backup) data via SCP ...
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 ...
2
votes
2answers
42 views

Find: who write backups

I have some daemon which writes Mongo and MySQL backups to the directory /opt/BACKUP, but I dont know - what kind of daemon, when it works and where i can find its settings? These files are in the ...
2
votes
1answer
58 views

Compare a filesystem to a dump

Is there a way to compare the current state of the filesystem to that stored in a backup created by dump? I recently had some major corruption in the filesystem and my most recent backup is from ...
2
votes
1answer
338 views

`mv` has failed because of insufficient disk space, what now?

I have tried to move a folder A from partition a to partition b as folder B with mv. Now the target file system was not big enough for all the data (I know I should have checked this first). Anyway, ...
2
votes
1answer
872 views

rsync and backup and changing timezone

I back up my pictures from my camera using rsync, using: rsync -vzrtl --progress --stats --timeout=0 host destination Now I was in a different timezone when I did my first backup then I moved to a ...
2
votes
2answers
182 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 ...
2
votes
2answers
171 views

Completely Backing Up Linux Installation

I come from Windows, and I've been getting into Linux a little bit lately. Trying to make that my default OS for now. I've wanted to try out a couple different flavors of Linux. I spent probably a ...
2
votes
1answer
35 views

Make links work in backup?

One file system of mine has many symlinks which link to directories in the file system. Is it possible to create a backup of the file system where the backups of the links work (i.e. still point to ...
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
75 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 ...
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 ...
2
votes
1answer
74 views

Which config files in /etc folder must be unique for each computer?

I am doing a restoration test of backup files on a computer. Without putting much thought into it, I did an rsync to replace all files in /etc folder with the ones in the backup. Then, I realize I ...
2
votes
2answers
35 views

Backing up a partition

I am pretty new to linux. I mostly started learning after I purchased a couple of Raspberry Pis. I like to make backups of my images as I have often made the mistake of corrupting my data :). ...
2
votes
1answer
1k views

How to restore folders to their original destination using duplicity?

After performing a backup of a couple of directories like so: # duplicity\ --exclude /home/user/Documents/test1/file\ --include /home/user/Documents/test1\ --include /tmp/test2\ --exclude '**'\ ...
2
votes
2answers
354 views

How to backup a running system?

I have a running Linux system, and I'd like to have a full backup of it using dd, which, in my limited knowledge is the only tool every system has. The distro doesn't matter mainly because I should ...
2
votes
2answers
1k views

Verifying a .tar.gz backup

Edit 3: For people who will read this question: --verify mysteriously fails with "Warning: Cannot seek: Illegal seek", hence I recommend you look for alternative ways to verify your archives. My ...
2
votes
2answers
107 views

backup script to exclude some parent dir and include some child dir

What I'm trying to do backup? users home dir which include Desktop,Documents,Pictures, thunderbird which i need to backup of every user all users are in /home partition with there respective user ...
2
votes
3answers
128 views

determine user-modified files

I plan to reinstall my operating system since I messed up some stuff. Access to files and folders is painfully slow sometimes, even if they contain just a few files. But of course, I don't want to do ...
2
votes
1answer
168 views

Is there a FUSE which permits transparently accessing incremental backups?

While creating incremental backups is relatively simple (and can be automated, e.g. via rdiff-backup), in order to access a specific state of a file one first has to manually restore the backup, which ...
2
votes
1answer
185 views

Backing up partition using dd and changing files

I'm a Linux newbie. From what I've read, you can back up an entire partition like this: dd if=/dev/sda1 of=/media/external/backup Can anyone tell me if I need to worry about files being changed ...
2
votes
1answer
589 views

remove unallocated space from a partition image

I have just created an image of an sd card using dd and the image is compressing down less than expected. I suspect this is because the card had not been zeroed out before I started to make the image. ...
2
votes
3answers
1k views

How to clone linux installation onto an external harddisk?

I see a lot of dd related questions, but could not find answers to the following. If question/answers already exist, please point to them, then flag to close, delete or merge. Can a working linux ...
2
votes
1answer
241 views

Overwrite file and apply file system rights of overwritten files?

I backed up some linux configuration files to a windows machine, so the file system rights were lost. Now I would like to restore my backed up configuration by overwriting the configuration currently ...
2
votes
2answers
1k 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 ...
2
votes
1answer
324 views

Restoring backup files

I have a directory in which are listed some .py files and some .py.bak files. I want to delete the .py files and restore the backup file renaming them *.py. Is there a shell script that can do this? ...
2
votes
2answers
848 views

How to run e2image to backup a remote CentOS server?

Our server is hosted out of the country, I just have SSH access. I want to take an image backup of my server. I found the e2image utility to take an online backup of that server, but when I run ...
2
votes
1answer
166 views

Interacting with Tape Library on CentOS 7 via mtx

I have a Quantum SuperLoader 3 plugged in via SAS to a CentOS 7 system. It shows in dmesg and lsscsi and is handled by the ch driver. $ lsscsi [0:2:0:0] disk LSI MR9271-8i 3.24 ...
2
votes
2answers
27 views

Backup of a NAS

I have a NAS that is used to store data from our LAN. For many years I've relied on tar or cpio to back up selected directories to tape. When I backup complete partitions or disks on the various ...
2
votes
2answers
42 views

How to split existing mailboxes based on date with procmail

I have huge mailboxes I would like to manage based on the age of their content: backup, archival or removal. I would like to split these mailboxes along the date of their contained messages. For a ...
2
votes
2answers
57 views

Rsync: Verify size of incremental backup of a file

I need to test the incremental backup of a file using rsync i.e. whether rsync transfers entire file or just the changes made to it, when an incremental backup is fired. Just for a test, I've created ...
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 ...
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
1answer
86 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 ...
2
votes
1answer
114 views

zfs deduplication “low” ratio

In Solaris 11, in a pool named mypool I activated deduplication with zfs set dedup=on mypool Then I created two 100 MB file: file1 and its copy file1copy. Only their names are different: their ...
2
votes
1answer
229 views

Would this LUKS LVM rsync restore method work?

I have an Ubuntu installation using LVM and LUKS encryption. LVM and encryption were chosen during the install process). While logged into it, I backup the full live system using rsync to another ...
2
votes
1answer
37 views

appendable and greppable archive on CentOS to hold many log files (logrotate on steroids)

I have a bunch of applications on a CentOS 6.3 box, which generate daily logs (text files with a very similar content) in this vein: /data/logs/app/my-2014-06-29.log ...
2
votes
1answer
23 views

Backup and restore only some partitions

I have a system which runs an arcade machine. It has the regular swap and root partitions, but then I have an extra partition which I call data. Data holds many gigabytes of game content. The idea is ...
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 ...
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
68 views

How to restore a system?

I have a disk image from Acronis True Image 2011. My original disk, of 40 GBs, had 2 partitions, 1 for FS and 1 for swap, but it started to fail. I've tried to make a backup, which finished with ...
2
votes
2answers
600 views

What is the best way to check if file has changed in Bash and keep 15 last copies of it?

What would be the best way to write a bash script and run it from cron (every hour) that: Would see if a file in a directory has changed If changed, make a copy with incrementing version number and ...
2
votes
1answer
399 views

Is there a right way to use one VPS backup file to build a clone VPS with it?

I tried many times to restore a tar ball from a different server to a fresh installed VPS with the same Linux Debian version (exactly the same) but every time when I restore the tar ball on a ...
2
votes
3answers
445 views

Installed software back-up

I have Linux Mint 15 Mate installed on one PC and I am currently updating it and installing necessary language packs, software, etc. After full set up can I back-up the entire system and restore it on ...
2
votes
2answers
7k views

Setup Linux backup with Bacula and Webmin

Hi guys I'm having troubles finding a good documentation to setup an easy and possibly web oriented backup solution for one of our CentOS 5.4 file server. The things I need to accomplish are the ...
2
votes
1answer
81 views

How can I make multiple copies of one folder without merging?

When two or more identically named folders are to be copied into or moved to the same location, the default option either in the GUI file manager, or using in a terminal cp -r --backup=numbered or ...
2
votes
2answers
279 views

Any unix utility/tool to auto backup files before saving?

I would like to know if there is any existing unix utility or tool that would make a backup of a file with a date/timestamp appended to the filename. Basically I am looking to automatically make ...
2
votes
2answers
289 views

Browsing bup backup with gitk or gitg

I am just playing around with bup for my backups and tested it like this: BUP_DIR=/mnt/TestTarget/bup bup init Which gave me the message: Initialized empty Git repository in /mnt/TestTarget/bup/ ...
2
votes
3answers
1k views

What's the best way to backup files via network on Linux and Solaris machines?

I wonder what the best way to backup files VIA network I have Solaris machines with Oracle 10i with VERITAS cluster, machines are connected to EMC storage /data/oracle directory is mounted on the ...