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)

1
vote
2answers
185 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/ ...
1
vote
0answers
166 views

how to create a script to backup MySQL databases on separate files?

I need to create a script so to automate the backup process for my database server. Today there are 19 databases on the server and to prevent some schema is created and not contemplated by the script, ...
1
vote
0answers
140 views

BackupPC can't finish backup

I'm trying to backup /etc/ directory on CentOS 5.2 using BackupPC. It takes several hours and then aborted by signal ALRM. There is a partial backup created with all data from /etc But BackupPC thinks ...
4
votes
2answers
230 views

backup list of installed packages

I want to reinstall my linux system (specifically linux mint). I have kept important data elsewhere, so I can safely remove everything. However, I want to do the following: save the list of ...
1
vote
1answer
63 views

Interactive backup tool

I am looking for a backup (or diff) tool where I can select interactively which file I want to copy towards my external hard-disk. Let me explain with further details: I have two computers and an ...
3
votes
3answers
157 views

Is copying the root folder an adequate form of backup?

I am working in a small organization with about 8 or so Linux independent servers. While we currently do remote backups among the machines, I was told to make an "emergency backup" of the machines to ...
2
votes
3answers
612 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 ...
1
vote
2answers
1k views

Synchronizing same files with different filenames using rsync [duplicate]

I have a directory ~/music that contains all my music files and a directory /media/backup/music that I wish to synchronize with the first one using rsync. Initially, I did a rsync -a ~/music ...
2
votes
2answers
488 views

setfacl incorrectly changes group permissions

To backup the "/home" directory tree of a server, I've created a 'backup' account and used setfacl to make the whole directory readable by it. My cron job runs this command as root each night: ...
1
vote
0answers
409 views

Use dd to backup disk image within an OpenVZ container

I want to use dd to backup the disk of an OpenVZ VPS in addition to traditional cold tar backups. Because I may need to migrate to a different VPS provider. From end user point of view, OpenVZ ...
0
votes
3answers
2k views

What is the function of user group root? [duplicate]

Possible Duplicate: What does it mean to be in group 0? I wanted to avoid using SSH root login to backup my remote server. Thus I set up a non-root user account on the server and place it ...
3
votes
2answers
222 views

Is it safe to only partially restore a disk image with dd?

I have saved my whole hard-disk with dd to an image file. The hard-disk contained some primary partitions formatted with ntfs, swap and ext4. I did it this way: dd if=/dev/sda | ssh user@fastmachine ...
5
votes
2answers
1k views

How to clone btrfs filesystem into different medium preserving snapshots' sharing data

I have decided to give btrfs raid capabilities a try. I set up a btrfs with sudo mkfs.btrfs -m raid10 -d raid10 /dev/sda9 /dev/sdb9 /dev/sdc9 /dev/sdd9 Now I want to clone my existing btrfs ...
2
votes
1answer
542 views

Hardlinks in Dropbox not updated

I want to create a backup of a single .tex file. I created the hard link to the file (which is not in Dropbox directory, lets say it is A) inside Dropbox directory. I did this so because I do not want ...
5
votes
1answer
156 views

Can I exclude /run from my backup scheme?

I have written a rsync-based system backup for my Linux system. The aim is to be able to redeploy the system entirely from the saves, so I don't only backup homedirs. I have excluded a few top-level ...
2
votes
1answer
122 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 ...
3
votes
2answers
4k views

Create a tar archive split into blocks of a maximum size

I need to backup a fairly large directory, but I am limited by the size of individual files. I'd like to essentially create a tar.(gz|bz2) archive which is split into 200MB maximum archives. ...
1
vote
1answer
4k views

how to tell rsync to preserve time stamp on files when source tree has a mounted point

Related to this question Short description of the problem: When source tree has a mounted point inside it, then time stamps on files inside that mounted point when copied to target tree are not ...
1
vote
1answer
712 views

rsync command to backup home tree to another disk

I want to make sure I am using the correct rsync command on Linux. I do not want to run an rsync and end up losing data as I am new to Linux and I have no backup now. On Linux Mint, I want to backup ...
1
vote
0answers
755 views

How to backup KVM images? Is it possible to backup whole VM?

I need to backup all (9 VMs) my KVM VMs. I would like to backup them in the night for example once a week. For example VMware server and VMware server 2 used to have possibility to create live backups ...
2
votes
3answers
3k views

How to backup debian system?

I have VPS hosting with debian operating system. I would like to backup whole system time by time. Here is a lot of questions how to backup OS on local machine, but it's not what I need. I have just ...
5
votes
2answers
1k views

Scp doesn't work in cron

Yeah, I know it's classic. I've googled it all around, but still it doesn't work. I have the following script: #First go to SVN repo folder cd $svnrepos # Just make sure we have write access to ...
1
vote
1answer
149 views

About Clonezilla and how store the backup

I've never used Clonezilla before. When storing a backup, Clonezilla needs a free partition or free space? I mean, I have a disk for backups with only one partition. Do I have to create a partition ...
2
votes
2answers
108 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 ...
1
vote
1answer
200 views

tar -c Error Messages and Source Files?

During a tar archiving operation with tar -cvf archive.tar source does the resulting tar archive that reports a file changed as we read it error still contain "some version" of the source file that it ...
1
vote
0answers
30 views

Time Machine Server on Fedora [duplicate]

Possible Duplicate: How can I (and should I) use my Linux file server as a Time Machine backup server for my Macs? I was just wondering if anyone knew how to/or knew of a good guide to ...
2
votes
4answers
213 views

How to restore data atomically on a remote server?

I want to be able to backup and restore my home directory of a remote account. The command I use are: Backup ssh myuser@myuser.server.com "tar jcf - ." > backup.tar.bz2 Restore cat ...
3
votes
1answer
120 views

Run backup on HD plugged with systemd

When I plug a HD via USB, it should a) mount it b) run my backup script. What I currently have is backintime.service [Unit] Description="Runs backintime to backup." [Service] User=user ...
1
vote
2answers
166 views

How to monitor specific files in unix [duplicate]

Possible Duplicate: How to run a command when a directory’s contents are updated? Any one know how to monitor files in Unix. I want to take backup of that files when its modified and store ...
4
votes
2answers
270 views

light weight disk based backup solution

Currently I am using Dirvish to backup a handful remote machines, both Linux and Windows to local disks. But Dirvish hasn't seen any updates for many years and it has a couple of small annoyances ...
4
votes
3answers
1k views

Performing accurate snapshot and incremental backups to a remote server

I have a few Ubuntu (and potentially RHEL) servers I'd like to back up to a central backup server (via rsh/SSH). I'd like to do both snapshot and incremental backups. The goal is that if one of the ...
1
vote
1answer
252 views

How to let rsync additionally store an differential changelog in another directory?

I'm using rsync --link-dir to obtain daily snapshots with little space usage due to the hardlinking. It would however be nice to also have a directory that, while mirroring the original structure, ...
0
votes
2answers
172 views

Backup & restore from Linux to Windows while Linux is running

I have a lab with some Linux machines, some are Red Hat 5.1 machines installed on HPDL580 HW, and some are Linux installed on BLADE IBM machines. Also I have laptop computer with Windows XP. My ...
5
votes
1answer
310 views

How to merge multiple WebDAV accounts for backup?

I use davfs, aufs, rsync: sudo mount -t davfs -o uid=wd,gid=wd,dir_mode=777,rw https://wd1.wd.wd/ /mnt/webdav1 sudo mount -t davfs -o uid=wd,gid=wd,dir_mode=777,rw https://wd1.wd.wd/ /mnt/webdav2 ...
1
vote
2answers
531 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 ...
3
votes
1answer
393 views

“tar --exclude-backups” does not exclude files with tilde at end

If I have the following directory: $ ls -a foo . .. a #a# a~ b b.bkp c .git .hg .svn and call: $ tar zcf foo-no-bkp.tar.gz --exclude-backups foo/ The resulting archive still has backup ...
1
vote
1answer
552 views

AutoMysqlBackup --lock-tables=false

I'm trying to use AutoMysqlBackup script to perform daily backups of my application. Unfortunately on the first try it didn't served me how I thought it would. I believe that the script has used the ...
0
votes
1answer
892 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 ...
2
votes
1answer
158 views

Backing Up to a Compressed Archive on Linux

How would you go about backing up just some files and subdirectories of a given directory to a compressed archive so that the tree structure could then easily be recreated from that archive. ...
0
votes
1answer
96 views

Creating the first backup

I heard that rsync isn't the best one when creating the first backup in terms of performance. Instead it is the best for the later backups. So I wonder what are some better commands for creating the ...
2
votes
1answer
163 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
810 views

What do you filter / exclude list when doing backup with rsync? [closed]

I'm trying to build a comprehensive filter / exclude file, to prevent backuping stuff that doesn't make sense do backup, such as temporary / cache data or easily recreatable files. I would appreciate ...
2
votes
1answer
349 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. ...
6
votes
3answers
1k views

Run Script once a day with systemd

I want to run a backup script 10 minutes after booting up my machine but only once a day. Is it possible to build up such scenarios with systemd?
3
votes
3answers
3k views

How do I backup via rsync to a remote machine, preserving permissions and ownership?

Drive A is 2TB in a closet at home. Drive B is 2TB in my office at work. I'd like drive A to be the one I use regularly and to have rsync mirror A to B nightly/weekly. The problem I have with this ...
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 ...
3
votes
1answer
257 views

Byte-level versus file-level backups

This question is motivated from a reply by Craig Sanders. Thanks, Craig! In what case, are byte or block level backups, i.e. disk or partition image backups, more suitable than file-based backups? ...
4
votes
2answers
15k 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 ...
1
vote
1answer
377 views

Automatic scheduled backup of website (/var/www and MySQL dump)

I've been trying to set up a scheduled backup for my server but i can't seem to get it working. I need to copy the contents of /var/www into a compressed file (tar?) in a folder in my home directory ...
1
vote
1answer
103 views

How to setup backup if the filesystem is read only

My remote server file system is read-only & its because my hard disk is broken .I want to take backup for taking any further action. Is it possible to setup a manual backup for the affected ...