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
46 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
24 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
140 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
250 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
70 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
637 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
427 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
506 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
8k 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
86 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
298 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
300 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 ...
2
votes
1answer
513 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
753 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
2k 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
14 views

How are XFS deltas for xfsdump -l n calculated?

I have a xfs filesystem with many small and a couple very large files (~100GB), its on a lvm2 volume. I want to do incremental backups from it. Is there any computational overhead when using a tool ...
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 ...
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> ...
2
votes
0answers
84 views

Logrotate archive old log files which has date extention

Everyday a log file is created in my directory. But with time, there tend to be a lot of log files. I want to keep the latest 4 log files in .log format, and compress the rest and copy the compressed ...
2
votes
0answers
43 views

What can I do with btrfs “profiles”?

Reading through the btrfs (sub) command documentation, it can "balance only block groups with the given replication profiles", and "convert selected blocks to a given profile", and apparently it ...
2
votes
1answer
128 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 ...
2
votes
0answers
177 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
236 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
182 views

Rsync - Corrupted MAC on input

Background I have a script on my NAS which is a Synology DS212J which is running on a special distro where uname -a gives me Linux DS212J 2.6.32.12 #4493 Wed Jul 16 11:37:16 CST 2014 armv5tel ...
2
votes
2answers
80 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
121 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
676 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
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
123 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
1k 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
1answer
472 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 ...
2
votes
0answers
176 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
4answers
529 views

Command substitution grepping ls output causes error

I'm trying to make a tar.tgz file using command substitution There are backups of 17 Aug 2012 -rw-r----- 1 ossec 502 804M Aug 17 2012 BKPMDISINT_i6nir20j.F_bkp -rw-r----- 1 ossec 502 2.7G Aug 17 ...
1
vote
2answers
2k 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
190 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
1answer
273 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
3answers
2k 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
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 ...
1
vote
1answer
464 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
151 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
175 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
2answers
216 views

Is it better to archive/move mail based on mtime or ctime?

I have been using a perl script to archive mail found here The script uses ctime to process and decide which month sub folder to place mail. In most cases this is fine since the ctime = mtime and ...
1
vote
1answer
82 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
538 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
2answers
109 views

What is advantage of backing up a filesystem by version control software?

Version control software seems to be used for backing up project mostly in plain text files. For backing up a file system, with large amount of files or large size, regular file copying/transferring ...
1
vote
2answers
2k views

Use logrotate to store 7 daily, 4 weekly and 12 yearly db backups

I've been trying to use logrotate to store a database backup for: last 7 days (daily) last 4 weeks (weekly) last 12 months (monthly) I've done a logrotate script like this, but only the daily ...
1
vote
2answers
1k 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 ...