Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [backup]

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.

1
vote
0answers
25 views

How to diagnose a slow network on Fedora 28?

Experiencing very slow network throughput on my linux Fedora 28 box. Barely getting over 4 MB/s down (~39 Mbps) using speedtest-cli, I can sometimes get near 8 MB/s down using wget to download test ...
1
vote
0answers
21 views

How to back up two ZFS pools to a backup pool with regular snapshots and incremental send/recv

I'm running ZFS on my home studio machine. I have two pools: ssdtank - holding the operating system datasets, swap zvol etc. hddtank - holding user data I have a backup USB HDD that I want to use ...
0
votes
0answers
22 views

Do I need to run BackInTime as root?

Just trying out BackInTime, not running as root, and when I've completed the initial configuration of settings I hit OK and... nothing happens. I've got my destination base set to a dedicated ...
3
votes
2answers
48 views

Is it possible to expect copies of files from ext4 to ntfs filesystems can work equally well as the original?

I am reading about how symlinks created on linux filesystem not work well when copied to NTFS filesystem at https://ubuntuforums.org/showthread.php?t=1497914. Is it possible to copy files of any ...
0
votes
0answers
26 views

automatic backup with duply to remote computer

I'd like to make a daily backup from my machine to another. The backup is created via duply, manually triggering it works fine: $ duply home status Start duply v1.11.3, time is 2018-11-19 17:07:10. ...
0
votes
1answer
26 views

CLI backup tool

Is there a backup tool which is "intelligent" enough to notice that a folder or large files may have been renamed between two backups? Maybe even if their location changed (not too complicated)? Is ...
0
votes
0answers
27 views

Can I completely recover Linux from a file backup?

So I have a backup of my Deepin 15.7 system on my 1TB hard drive (in an EXT4 partition) of the directory / I think I broke Deepin in some way (it fails to boot, the problem seems to be with the ...
0
votes
2answers
30 views

Keep only a certain amount of backups (tarballs) in a directory

On my debian 9.4 machine I have a script that automatically compresses & backups up all my files in a srv/ with the date in the name xx-xx-xxxx.tar. It is moved to my backups/ directory. I would ...
2
votes
0answers
32 views

tar restore --listed-incremental timestamp is in the future

I have some backups that were created using tar --listed-incremental features. When I restore the individual backups one after the other using tar -xf archive.tar I get no warnings but if I restore ...
1
vote
0answers
34 views

A simple utility to backup of both database (MySQL) and document root into one file

In Ubuntu-LAMP with Bash I host a few personal websites. All websites are under document root (/var/www/html). This is how I currently create immediate backups on maximally-self-managed cloud ...
-1
votes
1answer
22 views

Backup and restore clonezilla linux image into a new windows based laptop

my current office laptop ( that died recently ) is configured with dual boot windows/xubuntu, because company laptop comes by default with windows. Luckily the hard disk is fine. Now the new laptop ...
0
votes
1answer
35 views

backup with tar

I have found that I need this command to make a full backup of the Etc folder tar cJPf /srv/dev-disk-by-label-Share/Myfiles/$(date +%F)-$(hostname)-etc-tar.xz /etc/ But what command do I need to ...
2
votes
1answer
39 views

What's the difference between backing up files in an AIX system using either “tar” or “backup” commands?

In AIX systems there are the command backup and its counterpart restore meant to make and restore backups, respectively. But what are the advantages of using them instead of a well-known tar command ...
1
vote
0answers
29 views

Some questions about Hard-links, and backups

Recently I accidentally whipped out a directory with important stuff, and now I'm starting to think about the best ways to have backups, a remote copy It's already in place but I was thinking, about ...
0
votes
1answer
40 views

Backing up Linux to a Windows file system for later restoration

I need to backup / copy the files of my Linux installation to an external drive, so that I can restore them onto the new, larger disk. The destination disk for the restoration is twice as large, and ...
1
vote
1answer
31 views

Can I use rsync to move a list of files in different directories to a remote sever without logging in more than once?

So, I'm trying to write a script to back up some various configuration files with my ssh fileserver, but I'm not sure the best way to go about this. It would be nice if I could just fill a file with ...
0
votes
0answers
15 views

Back up and sync to mirror disk or image file

Let's assume a computer with 1 TB SSD and 2 TB HDD and an empty external 4 TB HDD for backup purposes. Now, to prevent data loss if one of the drives fails, a disk image or a copy of each file can be ...
0
votes
1answer
89 views

How do I perform a full system backup on Debian Stretch using rsync?

I have compiled and installed Back In Time to perform automated, full, system backups of my desktop computer running Debian Stretch (kernel 4.90.0-8-amd64). Back In Time uses rsync under the hood. ...
0
votes
1answer
28 views

How to backup network systems to LTO tape?

Having narrowly avoided a catastrophic server failure, I have equipped myself with an LTO5 tape drive, and some tapes to avoid data loss, having previously relied on RAID. However, I realise that ...
0
votes
0answers
98 views

Backup and restore of Ubuntu with rsync

I am working on backup and restore on ubuntu using rsync command. Here I am having the requirement that I have to take the back up of my system using rsync but on local hard drive (i.e. no external ...
1
vote
1answer
379 views

Scheduled folder backup

I'm looking for how to automatically backup a user's home directory in CentOs 7 to a remote host or NAS or just to ~/.snapshot. In some Linux setups, I have seen a .snapshot folder in the user's home ...
0
votes
0answers
19 views

restricted shell for backup

I was thinking about creating some backup solution for my NAS. My idea is that I could set up a remote system with ssh access and backup tool (whichever I choose to use) would upload files there. All ...
2
votes
1answer
47 views

Rsync creating diff directories

What I want: I'm trying to back up many files to S3 each day. I want to compress these into archives daily so that each individual backup doesn't cost as much. Therefore, I want a backup system ...
1
vote
2answers
53 views

Stop rsync scheduled task race condition (large directory, small time interval)

Platform information: OpenBSD 6.2 amd64 $ rsync --version rsync version 3.1.2 protocol version 31 I'm trying to sync a large directory (4TB) using the following daily.local file (for Linux admins, ...
0
votes
1answer
21 views

Anyway to apply filter while btrfs subvolume snapshotting?

btrfs sub snap foo bar creates an exact same contents of subvolume foo as subvolume bar, except the subvolumes in foo, which are excluded in bar. What I want is excluding some regular folders too ...
0
votes
0answers
19 views

lvm restoration in initramfs

I'm running Kali Linux 2.0 2018 and I mistakenly deleted my LVM partition on my HDD.Now my system only boots in (initramfs) I know where the backup for the partition is on the HDD (/etc/lvm/backup/...
0
votes
0answers
138 views

Manually synchronizing two BTRFS snapshots with RSYNC

Question Is there a way to synchronize two BTRFS snapshots manually on different disks and mark them as identical (set the parent/child relationship) reliably? Problem I was synchronizing my ...
0
votes
1answer
30 views

Is unmounted USB drive more durable than mounted one?

I'm thinking of running a file server on Raspberry Pi with two USB flash memories. Should I mount and umount every time I execute the backup? I mean, is the umounted USB more durable than mounted USB (...
1
vote
2answers
68 views

How to configure an account to have read permissions to on all files on a system, including root's files?

I need to create a kind of "backup operator" account, which can read all the files on a system for copying to a backup system without the permission to modify any of them, including those belong to ...
2
votes
1answer
27 views

Dumping postgres DBs into separate files

I inherited a postgres DB (which I have very little experience with) and trying to figure out a way to dump/back it up. I've been reading docs about it and can get as far as dumping the DBs into ...
0
votes
1answer
21 views

how do i backup my linuxmint file system and exclude the /media folder?

trying to backup the file system files, but want to exclude /media folder. dave@``primary ~ $ rsync -a --exclude=' /media/' /media/dave/DEE-NOW/#1AA-linuxmint19/RSYNC_SYS_BACKUP/ drwxrwxrwx and ...
0
votes
0answers
24 views

Why is dirvish backing up / instead of /home?

I'd like to configure my backup server to backup a remote machine. That's the default.conf for the remote machine: client: bob.vpn rsh: ssh -i /root/.ssh/id_rsa_dirvish_grue-root bob.vpn xdev: 1 ...
0
votes
0answers
39 views

Paper data backup on Linux?

Does there exist a tool like Paperback for Linux? PaperBack is a free application that allows you to back up your precious files on the ordinary paper in the form of the oversized bitmaps. If you ...
2
votes
0answers
38 views

rsnapshot without using rm/cp to rotate hourly intervals

Rsnapshot is a great tool, and I've been using it for years. I have discovered that my backups now take a very long time: 80 minutes. And I repeat that every 4 hours. After looking in the log, most ...
1
vote
1answer
226 views

Creating a raw img file of linux system

I'm trying to backup a linux system to an IMG file that I can then boot and run in QEMU. NOTE: I have tested on Lubuntu and tiny core linux. The process I have followed is: I have 2 hard disks, ...
1
vote
0answers
25 views

How can I reduce the size of my backintime snapshots?

I'm using backintime to create versioned backups of my root partition, and I would ideally like it to be making these snapshots quite often, daily if possible. However each snapshot at the moment is ...
0
votes
1answer
24 views

rdiff-backup - backup folder smaller than the original / error when restoring files

I'm testing rdiff-backup and I thought maybe someone could help me out. 1: Why is my backup smaller than the original folder? In my remote server I have 36G and in my backup server it's only 29G. 2: ...
1
vote
1answer
155 views

Pass a list of directories to rsync

I have a text file list_of_dirs_to_copy with 120 paths: data/A/backups/2018_02_12 data/B/backups/2/files data/B/old_files/2015_12 data/C/my_datafiles/800/dat data/F/backups & old files (second ...
1
vote
1answer
111 views

Help with script/rsync command to move file with md5 sum comparison before deleting the source file/ [closed]

Referencing this post to find and delete duplicate files based on checksum, I would like to modify the approach to perform a copy operation followed by a file integrity check on the destination file. ...
0
votes
2answers
39 views

Where is the idiomatic place to put source code for my projects? [closed]

I'm a software developer and only in the last year or so have I been using Linux Mint over Windows as my working dev environment. For the last year I figured I'd do things my way and adapt as I learn ...
2
votes
1answer
113 views

Questions about Rsnapshot - user permissions, deletion and hardlinks

Does Rsnapshot need root permissions on remote server side? I'm using a common user. backup commonuser@remoteserver:/directory directory/ I'd like to backup some folders like /home, /opt, /etc ...
0
votes
1answer
39 views

Create samba share with only write and no read permissions

Use case I'm the only user. I have an ubuntu NAS with fulldisk encryption, and I'm trying to back up my own Windows machines to that. I want to have a USB stick that I can boot from to clone the ...
3
votes
1answer
3k views

Which Linux Mint Timeshift method is more space efficient

Some questions about Timeshift backup in Linux Mint: can I expect a difference in drive space used for backups between the btrfs option and the rsync option? As I understand it btrfs uses diff-based ...
0
votes
0answers
93 views

How do I back up the non-distribution parts of my system (rather than just everything)?

I have a desktop system on which I want to switch Linux distributions; and I'm going to be installing the new distribution on the same partitions which now hold the old distribution's files. I want to ...
0
votes
0answers
18 views

Software for directory integrity

I keep a directory on my home server with all of my important files on it. I want to make offline backups of this directory. But as I add and modify file, I also want to be able to make comparisons ...
1
vote
0answers
56 views

rsync changes permission [closed]

I am using rsync to copy from a mounted file system to a server via ssh. rsync -avx example server:/home/username/permstest/ when I call stat on the example file in my home directory it gives ...
2
votes
0answers
139 views

Question about blocks sizes on Tape vs. Tar

I have an HP LTO-4 drive that I've been using for backups for a while now and everything works very well, but I have a question on how the Tar blocking factor works and what is actually written to ...
1
vote
2answers
116 views

Is it safe to run a full system backup with tar on an ext4 filesystem?

I'd like to make a backup of a live system, I'm running the command tar -cvpzf backup-latest.tar.gz --exclude=/backup-latest.tar.gz --one-file-system / But I just got an error of: tar: /: file ...
1
vote
0answers
36 views

Good fdisk output for backup image but can't mount to loop device even when using offset

I've recently created a backup file for my Ubuntu 16.04.4 server using dd in order to prepare for migrating to a larger SSD. I want to mount the backup image through a separate Ubuntu VM running on my ...
0
votes
0answers
85 views

synchronizing data on two (or more) computers via USB

I use two computers. The data I need, i synchronize through rsync. Typically, when I come to the computer I issue: rsync -vuhzrXte ssh from_the_other_computer to_this_computer This works and I find ...