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)

0
votes
0answers
9 views

editing files at the same time when cron automatically runs backup

I heard that it is a good idea to schedule backup in crontab file. I also head that it is bad to edit files while they are backed up. It may happen that cron stats to backup a directory while I am ...
5
votes
1answer
464 views

Rsnapshot destination full - how to safely rerun?

I ran my Rsnapshot backup today but my external drive became full half-way through the incremental backup (I have about 20 incremental backups now). rsync: write failed on "<path>": No space ...
3
votes
1answer
3k views

Clear unused space with zeros (btrfs)

How to clear unused space with zeros ? (I am asking for tool for btrfs filesystem) I'm looking for something smarter than cat /dev/zero > /mnt/X/big_zero ; sync; rm /mnt/X/big_zero Like ...
-4
votes
0answers
30 views

Backup script to copy files in multiple directories [on hold]

The following script will list keywords from check.conf and search for those keywords in the app dir. If a matching file is found, it then copies that file from App to Data10. I have multiple ...
2
votes
0answers
14 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 ...
1
vote
2answers
17 views

Automatic sync/backup that adds files to hard disk and keeps when removed

I know there are a few sync tools available in linux (I use openSuse OS btw), but I think they all do a pure "sync" and I am looking more for a backup function which is not synced (I could be ...
2
votes
1answer
49 views

How to split file and save parts to multiple locations?

How do I split a large file into multiple smaller chunks and write each part of it into separate locations? split command seems to only output all the files into one location. The context I need to ...
1
vote
0answers
22 views

sync two zip archives (with minimal I/O)?

zip itself can freshen an archive to reflect the current filesystem (e.g. -FS). It only updates zip entries with outdated timestamps. Is there a tool that updates a 2.zip file so that it becomes ...
33
votes
7answers
12k views

Recovering accidentally deleted files

I accidentally deleted a file from my laptop. I'm using Fedora. Is it possible to recover the file?
1
vote
0answers
14 views

Formatting btrfs for robust metadata

If I make three partitions on a HDD, it appears that the default (which is -m raid1) will only store two copies of each metadata block. Is there a way to store multiple copies, e.g. one on each ...
0
votes
0answers
12 views

sync source A into destination B

I want to create a perfect copy of A in B. I'm using this command, but is working good only on same existing folders rsync -h --progress --stats -r -tgo -p -l -D --delete /A /B if folder x exists ...
0
votes
0answers
6 views

Verify par2 on different media?

Is there an easy way to point to a par2 index file in one place and have it use a different base directory for the files to verify? Here's what I'm up to: I copy a bunch of stuff to backup media. ...
2
votes
2answers
1k views

How to Free Up Space in a Dynamically Growing qcow2 VM image?

This has happened to one of my VM's that's running CentOS under Proxmox. I copied about 40 GB of data into a VM. I then deleted that 40 GB data a day later. Now taking a backup of the same VM takes ...
0
votes
1answer
2k 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 ...
-1
votes
0answers
27 views

store Unix file permissions on a VFAT partition

I want to use USB drives (DoKs as well as USB connected hard drives) to backup files from Linux systems in a way that: Does not require reformatting of the VFAT formatted drives, so space on them ...
0
votes
1answer
35 views

Backup of home folder store network and printer settings?

Does restoring my home folder, restore network and printer settings on elementary os?
0
votes
1answer
44 views

How to move mysql database and mysql server to another machine

I am having Ubuntu 14.04 desktop in which i develop software. Due to some reasons my hard disk has developed many bad sectors. I want to move my mysql server software and all the databases to a new ...
0
votes
0answers
13 views

Windows Complete Backup [migrated]

I'm looking to try Linux. How do I completely backup my Windows computer and put it into something like an ISO so I can boot from it later if I ever want to switch back from Linux to Windows? Will ...
0
votes
2answers
4k views

Restoring a big partition to a smaller partition with Clonezilla

Some time ago I created a backup of an EXT4 partition with Clonezilla. Now the HDD crashed and I lost some important data. The size of the image of the partition is 50GB. I tried to restore this ...
2
votes
1answer
45 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
26 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 ...
0
votes
0answers
57 views

Backup And Restore Shell Script

I have been trying to create a script that backups up a certain directory and then restores the directory. The backup works as it should but when I try run the restore function I get the following ...
2
votes
2answers
37 views

How to keep a history of backups?

My intention is to create a "snapshot" of a certain hard drive on a server every day. How can I automatically make sure that the snapshot of today, three days ago, five days ago, 10 days ago (and so ...
1
vote
2answers
78 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 ...
2
votes
2answers
63 views

vim: how to trace back all changes done to file during the day

Does anybody know how to setup vim (the text editor) in such a way to make it possible to trace back all the changes done to a file within a day? I need it for the cases when I have accidentially ...
0
votes
0answers
25 views

backup without closing programs that are opening files for editing, and detect unsaved open files?

Is it possible to do backup without closing programs that are opening files for editing? I would like to do backup without closing programs that are opening files that I am reading or writing. I ...
0
votes
0answers
35 views

rsync question about a directory

I went ahead and used rsync to back up a root directory called /files my exact commands werersync -avzh /files willc66@server.com:/backup, inside my /files directory I had 2 sub directories home and ...
4
votes
1answer
94 views

ideal btrfs storage scheme to incorporate external USB HDD as backup media

Is there a way to leverage btrfs's advanced features (COW, snapshots, etc.) to continuously backup/mirror my main storage volume to an external USB HDD?
3
votes
0answers
235 views

Is btrfs suitable as backup filesystem?

Right now I have a pretty traditional backup filesystem structure on top of ext4. Every time a backup is made, a new folder backup-DATE is created to which files are rsync'ed (with hardlinks made ...
2
votes
1answer
13k views

force rsync to overwrite files at destination even if they're newer

I have an rsync backup script I run, which also restores files back where they came from when I ask. But if the files at the destination are newer than those in the backup when I try to restore, it ...
0
votes
1answer
16 views

Moving Application Configurations to Separate Partition

So by default, most services install their configuration files to /etc/<application>. On my physical systems, I'm using LVM for volume management, and specifically so I can rollback snapshots ...
3
votes
2answers
25 views

Help checking the integrity of TAR files for backup

I want make a backup of my Home directory and I've read a good method is to use the tar tool, and I think it suits me well since all I need to do is create a .tar of every folder in the Home directory ...
3
votes
3answers
145 views

Taking complete backup of System and then restoring?

I am using kubuntu 10.04 and now I want to install Mac on my PC. I have my data scattered in over 200 Gb and I want take a backup such that with one command all my data is saved into a single file. ...
-2
votes
1answer
22 views

An incremental or another full backup? [closed]

After using rsync to backup a file system, if there has been dramatic change in the file system since the last backup, is it still good to do an incremental backup? Is there a rule of thumb about how ...
0
votes
1answer
23 views

Standards for dealing with older/previous “.bak” backup of config file before new edit

Assume I have a config file "foo.conf." This file is rarely edited. At some point in the BeforeTime(tm) it was edited and "foo.conf.bak" was created to save the previous state. Now, I want to make ...
6
votes
0answers
458 views

Cleanup of temporary file ~/.cache/duplicity/temp failed

Often when I run Duplicity I see an error message like this at the end of the run: Cleanup of temporary file ...
1
vote
1answer
26 views

Storing documents and backups on several different drives

Currently I have Ubuntu installed on a 120GB SSD. However I also have 3 more hard drives installed on the computer, 2 x 640GB in aRAID array and a 60GB SSD. What I am trying to achieve is to use the ...
4
votes
1answer
359 views

easy rsync solution with file manager (thunar or nautilus or…)

A common tasks I teach new users in UNIX is how to make backups. Since most are not comfortable with the command line (CLI) and I want to have them make backups (more than forcing them to use the ...
0
votes
1answer
28 views

rsync: delete some files in destination not in source but not delete others

Given two directories /.../src and /.../des, they share some subdirectories share1 and share2 des also has a subdirectory named des1 which doesn't exist in src. How can I perform file transfer ...
0
votes
1answer
18 views

Software to do a 3 way backup

I am currently doing a backup of my system on an external hard disk using rdiff-backup. This kind of backup is good when the disk dies. However, I was also wondering if I can extend this method to do ...
35
votes
8answers
34k views

Rsync filter: copying one pattern only

I am trying to create a directory that will house all and only my PDFs compiled from LaTeX. I like keeping each project in a separate folder, all housed in a big folder called LaTeX. So I tried ...
2
votes
2answers
44 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 ...
0
votes
0answers
26 views

Backing up data to two drives

I am currently working on backing up an inactive users data from a server. The data is roughly 7tb. For the backup task, I have two four TB drives. So what is a reasonable way to move the data into ...
3
votes
2answers
49 views

Back up and restore file permissions

Is there a way to back up and restore file ownership and permissions (the things that can be changed with chown and chmod)? You can do this in Windows using icacls. What about access control lists?
1
vote
0answers
21 views

Is there a way to backup and restore ACL file and folder permissions on linux the way that there is using icacls in Windows? [duplicate]

In Windows you can do this (backup and restore ACL permissions) can you do this in Linux? And to clarify, I mean ACLs in Linux, I do not mean the default permissions modified with chmod / chown.
1
vote
1answer
27 views

What is the proper bash method of prompting the user for administrative password before backing up the usb data to the computer?

mate-terminal --window-with-profile=PROFILENAME="Hold the terminal open" -e "sudo rsync -azvu --log-file=/var/log/simplebackup.log --append-verify --exclude '.gvfs' /media/user/usb/ ...
2
votes
1answer
440 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 ...
-1
votes
2answers
27 views

How to make a backup of the data in my Laptop? [duplicate]

I would like to make a backup of all the data in my Fedora Laptop (Pictures, Music, Videos, Documents, etc.) in an external hard drive. Basically I need to know two things: A good software to do ...
0
votes
1answer
34 views

what distinguishes Rsync-type backups from other backups?

This link classifies incremental backups into Rsync-type and other type: Rsync-type backups The main characteristic of this type of backups is that they maintain a copy of the directory you ...
0
votes
0answers
21 views

Thunderbird: server connection slow after restoring backup on Mint

I've made a copy of the .thunderbird folder in my home directory (on Ubuntu 12.04) and restored that backup on a freshly installed Mint 17.1 Cinnamon using the Profile Dialog of Thunderbird. ...