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
181 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
484 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
209 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
927 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
270 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
783 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
49 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
94 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
20 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
52 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
63 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
1answer
471 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
567 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
270 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
310 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
6k 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
77 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
192 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
258 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
992 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 ...
2
votes
1answer
456 views

Input a list of files & directories to be copied with ditto

I have a short list of files and directories of which I would like to make a flat copy of using ditto in a bash shell. There are approximately 8-10 files and/or directories that need to be copied. I ...
2
votes
1answer
673 views

Rsyncing multiple files with white spaces in the names

I'm trying to back up files onto a server, but I'm having problems with files that have white spaces in the names. I'm using this command in terminal: FILES="testing/space\ in\ filename testing/and\ ...
2
votes
2answers
1k views

backup MSSQL database to a client's local disk over network

I'm trying to backup a MSSQL server from linux. I'm able to connect to the server using tsql (from the freetds project), and I'm even able to backup the database on the server using the backup ...
2
votes
1answer
5k views

Bacula + bat on Ubuntu Maverick

Okay, so I have a goal, and I'm unsure of the best steps to take to get there. Goal: Set up a Linux VM in VirtualBox (Host: Windows Server 2008 R2) Setup Bacula in a Linux environment Get Bacula to ...
2
votes
0answers
30 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
0answers
55 views

Is it possible to save a KDE desktop configuration?

Is it possible to save a desktop configuration while using KDE Plasma Desktop? I mean, I have customized my desktop with a set of plasmoids, each with its own custom settings, and I'd like to save ...
2
votes
0answers
45 views

Is it possible to create an incremental snapshot file from an existing tar archive?

I have created a large tar archive and am now looking to do an incremental backup. The documentation indicates that a snapshot file can only be created when the initial tar backup file is created. ...
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
0answers
82 views

Corrupt files after extracting with Cygwin's GNU tar

I have a bunch of tarball backups which I just restored onto my new Windows 8.1 + Cygwin system using GNU tar: zsh$ for file in **/*.tgz; do tar xvzf $file; done To my surprise a lot of these ...
2
votes
1answer
233 views

How to display next schedule time for a TSM node?

0:root@SERVER:/SERVER/fs_111 # dsmc q schedule IBM Tivoli Storage Manager Command Line Backup-Archive Client Interface Client Version 6, Release 4, Level 0.1 Client date/time: 03/09/2014 ...
2
votes
0answers
83 views

Make Tar Incremental Backups into One Backup?

Well, I know this question is quite strange. I have done a lot of incremental backups. It makes the total file size is too large, because there are a lot of duplicated files with similar contents, and ...
2
votes
0answers
15 views

Combining rsync --files-from with --delete [duplicate]

I'm doing rsync --files-from=find-output.txt ~/backup/ (simplified). I'm trying to add --delete, to make rsync delete files in backup that are not included in the file list, but it does not delete ...
2
votes
2answers
118 views

Copying and expanding partitions

I currently have the following setup: 2TB HDD /dev/sda: /dev/sda1: (NTFS) Windows 7 Boot Partition: 100GB 1TB HDD /dev/sdb: /dev/sdb1: (EXT4) Linux General/Backup Partition - 1TB 256GB SSD ...
2
votes
3answers
993 views

Copy/backup all dirs containing files matching a regexp

I would like to do a backup where I recursively go through a dir structure and only get directories with files whose names matching a particular regexp. I would like to keep the directory structure, ...
2
votes
0answers
169 views

restore duplicity backup from amazon s3 in debian

I have applied the script provided here to backup my stuff in debian etch and it works, I tried to reverse the SOURCE and DEST, but I can't do the restoration. What happened?
2
votes
0answers
83 views

Re hardlink and old rsnapshot backups [duplicate]

Possible Duplicate: Is there an easy way to replace duplicate files with hardlinks? I changed my naming scheme on rsnapshot from localhost to my actual host name, unfortunately this 'caused ...
1
vote
2answers
1k views

Multiple source directories in duply

Is it possible to specify multiple source directories in a duply configuration file? If not is there any simple workaround?
1
vote
3answers
184 views

back-up database in Linux partition from windows partition!

Hello I am in a very embarrassing situation, I was trying to upgrade to ubuntu 10.04 from ubuntu 9.10 yesterday and while updating I forgot to put my laptop on charger and the battery ran out. Since ...
1
vote
3answers
1k views

dd command for windows filesystem

dd is a handy tool for backing up a whole drive or filesystem in some situations. Now I am thinking about what if I use the tool for backing up Windows file-systems / drives (Windows 2003/2008) which ...
1
vote
1answer
213 views

backup process taking prolonged time due to rsync no space left on device error

I am trying to understand why the backup process in one of the servers is taking so long and not copying the data correctly. This is the size of the external HDD partition. df -h /dev/sdb1 ...
1
vote
1answer
119 views

What file systems support taking snapshot backups from a live system?

What file systems allows me to take a full snapshot of a full live partition, while active, in a state where all files have the same state as when the backup/snapshot process start ? I want to be ...
1
vote
2answers
123 views

Figuring out installed packages on Ubuntu from filesystem backup

I have a full filesystem backup from my Ubuntu box, and my OS disk crashed. Is there a way to list all installed packages (like dpkg -l does but) from the backup? The logfiles are not an option as ...
1
vote
1answer
81 views

Copying many CDs to disk

I have many old (data) CDs. I want to copy them all to the disk, but the problem is that some of these CDs are no longer readable and it is extremely tiresome to copy the CDs one by one. Is there ...
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 ...
1
vote
3answers
119 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, ...
1
vote
2answers
653 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 situation: My customer has expressed a wish that source code for his project must be backed up every day on ...
1
vote
2answers
732 views

Cancel and resume a duplicity backup

Is there a way to cancel duplicity (running over rsync and symmetric gpg encryption) without messing up the running backup and resume it later (for example after rebooting the laptop) without ...
1
vote
2answers
807 views

Two exact copies of folder using FTP and command-line only

I'm looking for any solution that will allow me to emulate functionallity similar to Dropbox/rsync using only FTP protocol and command-line. The general problem is, that I have to run it on a very ...
1
vote
1answer
396 views

Backup from remote server

I'm a novice so go easy. :) If it makes a difference I'm using Ubuntu/Debian machines. I want to back up our dedicated web server to a local location in-house. This is for many reasons - I know that ...