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
1answer
37 views

how do i make a script to generate a gpg backup saver?

Im making a little backup script that includes the function to encrypt the backup. The script runs automaticly with a cronjob. So the password for gpg is in a File. Its just a textfile. How can i ...
1
vote
2answers
65 views

Automatic and secure file transfer over two servers

the problem is how to automatically transfer backups from server A to server B in the best possible way in terms of security? Here is what comes to my mind: authorize server A pub key to access ...
0
votes
1answer
33 views

How to backup /user/home with some requirements?

I'm currently studying scripting and I need to create an script to back up the /user/home using .bz2 compression. My teacher wants the person running the script to select the user to backup and the ...
0
votes
0answers
30 views

ARJ under GNU/Linux

I'm using ARJ compressor under GNU/Linux system to backup mostly FS with a size of 600 GBs aprox., and very large number of files. I'm not using compression, only store with split of 50GB volumes. ...
0
votes
1answer
24 views

Script for backup each DB on server but omit system databases

I have read a lot of post around this topic but I didn't found the one to fit my needs. So, basically I want to make two backups: one at mid day (12 PM) and the other at midnight (12 AM) for each ...
1
vote
2answers
85 views

Random files selector in filesystem

Context : In order to test some backup process which are supposed to work all nights, i want to select a random files on a large amount of datas. (Around 7 millions of files. This is a NFS server with ...
2
votes
0answers
25 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> ...
3
votes
2answers
2k 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 ...
0
votes
0answers
38 views

Extract and backup Springseed notes

So i have installed springseed on a linux system and I was wondering if it is possible to extract the notes i am making in the program so I can backup the notes and not have to do it in dropbox.
0
votes
0answers
92 views

how do you back up files with a time stamp

How do you create a script to backup all log files (assume multiple files) into a directory called Backup/Logs ? The backup file must be date and time stamped. The backup must be compressed. The ...
20
votes
3answers
38k 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. ...
2
votes
1answer
72 views

how to do version-specific backup/restore of Debian packages?

summary Note version-specific in the question title! This question is not, how to On one Debian host, capture a list of all installed packages. On another Debian host, install the latest versions ...
1
vote
3answers
77 views

Include subdirectory from excluded directory in a tar archive

I have the root folder USA and sub-folders California and Texas. Texas is an excluded sub-folder but it has a specific file in it that I'd like to include in the tar backup. Let's call this file ...
3
votes
1answer
463 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 ...
0
votes
2answers
2k views

Backintime Linux desktop backup to a Synology DiskStation

Backintime doesn't support plain SFTP backends so it does not seem to be easy to setup a remote backup to a Synology Diskstation (in my case a DS214 with DSM 4.3). Backintime supports SSH/rsync based ...
2
votes
2answers
302 views

How can I *automatically* backup my contacts in Google Contacts/Gmail?

On a similar theme to this question, how can I automatically (on a schedule) back up my contacts from Google Contacts/Gmail from the command line (Linux or OS X)? Ideally, this mechanism would be a ...
-1
votes
1answer
24 views

Physical Backup of Maria DB as a snapshot using LVM

I have a SQL database which I want to backup as a snapshot. I want to use LVM to do so, but I am not able to do it. Also my database is not stored in a LVM partition but its located in my /dev/sda2 ...
1
vote
1answer
25 views

What happens if rsync is scheduled to do backup, but remote location is unavailable?

I'm thinking of creating a sync/backup routine with rsync for some crucial files between my Desktop computer and Laptop. The point is not to use a Cloud service. I would set up an automated schedule ...
1
vote
2answers
171 views

What's the differernce between differential and incremental backup in terms of rsync command?

I use the following rsync command to backup my local folder ~/dir1 to a remote backup server: rsync -a ~/dir1 username@remote_host:destination_directory As per my understanding it's incremental ...
1
vote
1answer
101 views

btrfs - snapshot of a parent subvolume excludes child subvolumes?

Let's say I want to exclude ever-changing logfiles from backups. Parent subvolume / Child subvolume /log I snapshot /. Looking at the snapshot, /.snapshots/today/log will be empty, correct? This is ...
2
votes
2answers
52 views

How I can ignore transient failures in scripts run by cron?

I have various backup-style scripts which run from cron on a headless server (Ubuntu 14.04), typically on a daily schedule. Cron is configured with a mail server so I get feedback from jobs. Normally ...
1
vote
1answer
214 views

How to start GUI of Deja Dup in Debian 8.1?

I installed Deja dup by sudo apt-get install deja-dup but I cannot find it in Search. It appears in commandline, but not like in Ubuntu like here. I did not find any GUI for deja-dup in apt-cache ...
8
votes
2answers
1k views

How to create a list of all applications which were manually installed?

I use Fedora and I'd like to have all the package names in a list, but only the ones I installed myself, not the default ones.
1
vote
1answer
63 views

Preserve date modified on directories / folders with rsync

I am trying to backup a failing hard drive and rsync would be ideal due to the features it has such as progress indicator and ability to stop and resume. The one issue I am having is that while file ...
-1
votes
1answer
203 views

How to take a directory or file backup using command?

I have uploaded my file there will be a daily changes in that file for safer side i want to take backup that directory,when i tried copy that folder to another it is showing whenever i have created ...
5
votes
4answers
7k views

Why can't I copy my DVD with dd?

I tried dd, dd_rescue and ddrescue, all failed. I thought these tools bypass the filesystem and make a bitwise copy. dd is fooled, it finishes but just produces a small file and states it's finished. ...
1
vote
2answers
242 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
108 views

Incremental backup script (shared hosting)

Please consider I'm not sys admin so I have only limited experience with the tools involved, I know there are similar question but I cannot find anything that suit my needs. In a similar question ...
6
votes
2answers
469 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 ...
8
votes
1answer
142 views

How can I put some comment in yum installation list?

Lets say I made a List of installed packages by: rpm -qa > list I want to use this list to re-install those Packages on another System, For Example By: yum -y install $(cat list) But I need ...
1
vote
0answers
19 views

Backup location in LVM

By default, the metadata backup is stored in the /etc/lvm/backup file and the metadata archives are stored in the /etc/lvm/archives file. What should I do If I want to change directory for backup? For ...
0
votes
1answer
67 views

Trying to understand lvm snapshot

I saw the mention of 'c-o-w' in a lvm tuto and that made me confused because it kept me thinking the snapshot vol behaves like overlayfs or other cow fs where changes are written to it after you ...
3
votes
1answer
48 views

FreeBSD restore(8) confusion

I have successfully backed up the /, /usr and the var slices from an old machine. I have tar files on my windows machine. I need to restore the original slices to a new machine (Virtual Machine). ...
3
votes
1answer
38 views

cp command which partially resolves symlinks

Is there an easy way to copy a directory recursively where symlinks to external files/directories are resolved (target file is copied), but internal symlinks (pointing to files inside the copied tree) ...
3
votes
4answers
158 views

Archive the oldest file, where files are named according to their timestamp

Context I have backup scripts running which create tar.gz files and transfer them to a dropbox folder on my headless linux VM. Problem I do not know how to create a script which will detect the ...
1
vote
2answers
48 views

Using rsync to synchronize directories

I have a script that I am using to backup a directory on a CentOS 6 machine. It's very basic but it is executing rsync -a remote:~/original ./backup This works fine: it is copying the contents of ...
-2
votes
1answer
150 views

Linux “dump(8)” command

I intend to use dump(8) for backing up a Mint disk. Here is the documentation about it: http://linux.die.net/man/8/dump However—is it deprecated? (The documentation does not say it works with ...
1
vote
1answer
89 views

rsync with --link-dest options doesn't create hard links [closed]

I created a backup script that should create incremental backups every day and a full backup once a week from a remote host to my external backup hard drive. (short example at the bottom) The script ...
0
votes
2answers
956 views

How to backup and restore to different hardware in Linux? [duplicate]

I am running Fedora 22 on a Dell Laptop. I plan on migrating to a desktop soon which will also run Fedora 22. What is the best way to go about backing up and restoring my laptop configuration to the ...
1
vote
2answers
46 views

Is it necessary to transfer `tar` files through `rsync` in archive mode?

I have a bunch of tar files in my machine which I want to transfer to an external hard drive (EHD); they where created preserving permissions (using the -p flag). I plan to use rsync to copy them to ...
3
votes
2answers
46 views

How to backup the data of my Linux system if I want to retrieve it in other operating systems?

I am a basic Linux user and would like to backup my data (my home directory to be precise) in an external hard drive (EHD), but would like to be able to retrieve this data in other operating systems ...
1
vote
1answer
56 views

Cannot close the file /etc/mtab when restoring /etc with rar

Prior to reinstalling VPS and upgrading from Debian 6 to Debian 8, I have archived /etc/ folder. Now, I am trying to extract and overwrite everything, but somewhere in the process I get this message ...
2
votes
0answers
77 views

Backup using find and ssh to off-site server

I'm sure this has been been answered in bits and pieces on many sites, but somehow I can't seem to get this (as a whole) to work reliably. Scenario: I have a server that I would like to do ...
-1
votes
1answer
66 views

Linux backup a folder by each

I have a folder /home/software, with some sub folders /home/software/game /home/software/photo /home/software/ebook ... I want to create tar backup including the date for each sub-folder so I will ...
0
votes
1answer
59 views

How to keep all log files?

I just lost important log file. Time Machine etc is not in use in that Mac. I would like to setup in my Mac (El Capitan) some unix thingie, which keeps all log files. Logs rotate, right? So if i ...
3
votes
2answers
67 views

Remove all but the latest backup file monthwise

I've got a directory, containing lots of weekly generated files with names like db_20130101_foo.tgz db_20130108_foo.tgz db_20130115_foo.tgz ... and so on. Over the years, the disks will get ...
0
votes
1answer
177 views

Auto Mount and Backup on any usb sticks connected

Hello Unix and Linux Lovers! I have spent now about 2 days looking for a solution of my problem but couldn't find a fitting one; I like to back up files to any usb stick which is connected on a ...
0
votes
0answers
51 views

What is the “-rescue” function of Clonezilla and when should I use it?

When running Clonezilla on a NTFS-drive with bad sectors the cloning is interrupted and I get a suggestion from Clonezilla to use the -rescue option to save as much as possible from the damaged drive. ...
7
votes
5answers
2k views

force copying a corrupted home directory

I have a home directory in a disk that has a lot of corrupted files. I am trying to save most files as possible. I am trying to create a backup of my home directory on an external drive using tar ...
2
votes
0answers
33 views

How can I access timemachine back ups from Linux Mint?

I can connect to my AirPort WiFi via my Linux machine but am trying to access time capsule backups I made when I had a MacBook Air. I have researched and found info on airport-utils, but have had no ...