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
votes
1answer
38 views

rsync backup not creating any files

I am trying to run rsync to back up my file system to an external flash drive. It finishes almost immediately, and no files are present on the flash drive when I view it. What am I doing wrong? king@...
35
votes
5answers
38k views

Clear unused space with zeros (ext3,ext4)

How to clear unused space with zeros ? (ext3,ext4) I'm looking for something smarter than cat /dev/zero > /mnt/X/big_zero ; sync; rm /mnt/X/big_zero Like FSArchiver is looking for "used space" ...
1
vote
1answer
78 views

Secure way to back up systemd logs

I have arch linux installed on a raspberry pi and want to start backing up my logs regularly to some external write-once media. It'll probably be a CD, but I'm not sure yet, and it will probably ...
0
votes
1answer
30 views

How can I backup all my software in files to reinstall on another Linux system?

Is there a way to backup all my programs, software, maybe even libraries and their data on a Linux system like it is for apps and their data on rooted Android with TitaniumBackup? I'd like to backup ...
0
votes
0answers
34 views

Deja Dup restore overwrites original file dates?

Deja Dup restored data but all files are erroneously marked created today. Any way to restore files with original creation dates? Thanks!
-1
votes
1answer
34 views

A question for old unix gurus or simply older SVR4 users: backup output

On SYSVR4(AT&T 2.1) i want to make a backup full of /dev/root i did this bkreg -a varfull -o /:/dev/root -c demand -m ffile -d disk -t mytb1 varfull is tag,dev/root is my fs wich i want to ...
2
votes
0answers
130 views

Copy remote btrfs incremental snapshot to new drive w/ UUID

Situation: Two machines (A & B, with local drives dA & dB) connected via slow network. Drive dA has initial backup to dB, while locally attached on machine A. btrfs send RO-snapshot-1-dA | ...
7
votes
1answer
305 views

Does rsync delete files on the destination that were deleted from the sending side?

Does rsync delete files from the destination if they were deleted from the source? For example, say in the source /home/me I have three files: a.txt b.txt c.txt Now, I run the command rsync -v /...
2
votes
0answers
185 views

How to restore a Duplicity backup from Amazon S3 on 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 restore. What am I missing?
0
votes
0answers
30 views

Bulk Email backup

My e-mail server is hosted on AWS. It is running fine but every month I 'm getting more than 8GB of e-mails in my first account. I cannot delete any of the e-mails as my team need to refer back to the ...
1
vote
1answer
48 views

A open source and easy-to-use solution to Symantec Backup Exec

i need a open source and easy-to-use solution to replace Symantec Backup Exec. Basically i only make tape-based backups in a Powervault TL2000
0
votes
3answers
375 views

rsync partial LVM volume to Remote Directory

Can I rsync a full hdd partition (which is inaccessible) to a remote directory? Inaccessible means it cannot be mounted, it was part of LV volume merged with other HDD which is faulty and removed ...
2
votes
2answers
3k 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?
2
votes
1answer
33 views

Compare two files, while overriding second file's size

I am trying to verify a backup that I made using the following command: dd if=/dev/sda of=/dev/sdc2 I backed up the contents of /dev/sda (internal hard drive) to /dev/sdc2 (external backup drive, ...
0
votes
0answers
25 views

Linux Image backup solutions

I want image backup solution for my three hp integrity rx2620 servers linux 4.0 based OS. Presently I am using storix network administrator v6.0. But i want individual independent backup solution.
2
votes
3answers
49 views

Is it possible to keep files on a disk partition without an OS?

I want to switch from Linux Mint to Musix. I want to backup my files and copy them after installation, but I was unable to do this because my only external medium for storage is an 8 Gb USB stick. ...
1
vote
2answers
92 views

How to check if directory is mounted on disc X and mount it if it isn't

I'm trying to write script to back my data up. I don't know much about it, so I might take a wrong approach, but what I'm trying to do is use rsync -avh several times for each directory I want to back ...
0
votes
1answer
39 views

How do I only copy files from one drive to another if the files I want aren't currently there?

I'm sorry if the title sounds a bit weird. Basically, I have a directory with a lot of images in it. I have a flash drive where I also have many of the same pictures. But let's say that I updated my ...
1
vote
0answers
107 views

Restore errors: “bad header/extent: invalid magic - magic 1701”

I'm testing these instructions to restore a backup image to an Intel Edison from a previous .img image. The backup line was: dd if=/dev/mmcblk0 of=sd/ubilinux_image.img I removed a file (to see if ...
2
votes
5answers
2k views

rsync keeps disconnecting: broken pipe

I'm using rsync to backup my home directory. This has been working fine for a long time now. Here's the command I'm using: rsync \ -pavz \ --delete \ --exclude 'mnt/' \ --exclude '....
0
votes
0answers
57 views

ZFS Snapshots and low space on zpool

I am trying to backup every hour my zvols. I am using zfs for virtual servers on Proxmox VE. I made myself script, which runs snapshot every hour and then send it to offsite backup, then bookmarks ...
1
vote
1answer
58 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
89 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
35 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 ...
1
vote
0answers
33 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. So,...
0
votes
1answer
25 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
139 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 ...
3
votes
0answers
26 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
50 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
177 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 ...
27
votes
3answers
44k 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
102 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
99 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
521 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 ExecStart=/...
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
349 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
28 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
31 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
636 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
153 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
313 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
103 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
365 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 ...
6
votes
4answers
8k 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
256 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
130 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
505 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 ...