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.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 views

Rsync duplicating files that in the source directory are symlinks

I have a 4TB internal drive in my ubuntu server. This drive contains backups made by a script that's been running for years. This script creates a new directory every day and rotates the existing ones,...
0
votes
1answer
19 views

Partition offset when mounting logical volume

I am maintaining a Linux-Server (Ubuntu 18.04 still) that, among other things, runs a virtual Windows 10 machine on it. The Windows machine uses a logical volume as its hard drive. My goal is to ...
0
votes
1answer
17 views

Problems getting Rsnapshot to work, even just for a local backup

my goal is to backup a remote server. However, I first want to get just a local backup working, running on Ubuntu 20. For this, my /etc/rsnapshot.conf file is the following: config_version 1.2 ...
0
votes
1answer
30 views

Tar: File changed as we read it/ file removed before we read it Errors

I'm trying to create an automated backup script using the tar command: tar -czg /home/user/BackupArchiv/snapshots/snapshot_2020-10-12 -f /home/user/BackupArchiv/backup_2020-10-12/backupfull.tar.gz /...
1
vote
1answer
81 views

Tar confusing error messages

I'm trying to create an automated backup file using the tar command. tar -czg /home/user/BackupArchiv/snapshots/snapshot_2020-10-09 -f /home/user/BackupArchiv/backup_2020-10-09/backupfull.tar.gz /home ...
0
votes
1answer
29 views

Tar command saves file in working directory instead of specified directory

I'm trying to make a automatic backup via the tar command: datum=$(date +%F) buweek=backup_$datum snap=snapshot_$datum mkdir /home/user/BackupArchiv/$buweek tar -czvg /home/user/BackupArchiv/...
0
votes
0answers
53 views

Writing a backup script that can deal with both files, absolute paths and relative paths

I am trying to write a backup script with a minimal number of commands. The backup script takes two inputs, the absolute OR relative path of destination where the the backup is to be made, and a an ...
-1
votes
0answers
12 views

ubuntu 18.04 settings in 20.04

A couple of days ago I tried updating from 18.04 to 20.04 using the do-release-upgrade command. Long story short, something went wrong and the system won't boot. It doesn't look like I'll resolve the ...
2
votes
1answer
32 views

Tarring up a a read-only partition

I'm new to Linux, and this is probably a silly question, but is there a way to set a partition to read-only and then tar up all the files on that partition and put them in a tar.gz on that partition? ...
1
vote
0answers
26 views

Rsync running every month can't stop it

I have never used rsync for backup before. I'm not a advanced user by any means, but enjoying Linux. I was following instructions, from a website (have now lost the url) and I managed to set up rsync ...
0
votes
2answers
44 views

FreeBSD best practice for backup restore [closed]

What is the best practice for system backup and restore on freebsd? Because I'm making many changes to the system I need to use quickest and easiest way to restore entire system to previous ...
0
votes
1answer
74 views

How to backup to external btrfs partition with snapshots if my system is on ext4?

As I started to use Timeshift on my Linux Mint I saw that it was possible to backup on btrfs, however, with some requirements: that the linux system had to be installed on btrfs as well (and I think ...
0
votes
0answers
40 views

Ubuntu 20.04.01, full disk encryption, btrfs, & hibernation?

I am trying to install *20.04.01 on my desktop with full (or almost full as Tj puts it) disk encryption including encrypted swap partition that allows hibernation, and btrfs. The last few years I am ...
1
vote
0answers
16 views

Partial restore with Back In Time

I'm trying different backup methods for my Linux machine. Came across Back In Time, and I like it, but: Is there a way to restore just some of the backed up files/dirs? Say I have selected dirs */A/, *...
0
votes
1answer
28 views

rsync chmod and chown operation not permitted

I am trying to backup my filesystem to my SSD so I can boot from SSD. The issue I am having is RSYNC is giving me errors. I am running sudo rsync -aAXv / --exclude=/media/* --exclude=/mnt/* /mnt/...
1
vote
1answer
40 views

Do Unix/Linux systems generally have a “dump” directory?

A "middle" dump directory (path Y) to which one can to cut/copy-paste a few files from path X and then later cut/copy-paste these into path Z could be handy if someone is say upgrading a ...
1
vote
0answers
16 views

Backing up UNIX(Linux)-account data

I am experimenting with (main)UNIX users and groups configuration on my system (how many, which names they have, passwords, etc.) in Linux. Would it be possible to create a simple backup of the ...
0
votes
1answer
34 views

rsync --itemize-changes lists some xattr differences, but getfattr shows no difference

On my Arch Linux machine, I want to verify btrfs backups of snapshots using rsync. The following rsync command is used to check for changes: sudo rsync -n --itemize-changes --checksum -a --delete --...
2
votes
1answer
57 views

Is it possible to use rsync to restore root from a directory in root?

My intended order of events is as follows: Backup most of root sudo rsync -aAXv --delete --exclude={/dev/*,/proc/*,/sys/*,/mnt/*,/media/*} / /BACKUP Reverse the process sudo rsync -aAXv --delete --...
0
votes
0answers
12 views

What is the use case for using the --extra-lsndir option of mariabackup?

I am modifying a script I found to create rotating weekly incremental backups using mariabackup. It passes this option to the backup command. According to the docs the --extra-lsndir option creates ...
0
votes
0answers
79 views

rsync exclude not working

This might be related to this (though I'm not excluding folders, only their content), but I'm not sure I fully understand the provided answer. Following Arch Wiki full system backup with rsync, I used ...
1
vote
1answer
47 views

Backup a LUKS encrypted device on the cloud

I am going to use LUKS for encryption, however I cannot find a thoughtful manual and best practices how to do so. Here I will list my questions, sorry for naivety. Apparently I don't need to encrypt ...
1
vote
1answer
22 views

why does rsync run through all the files but fail to copy them?

I can't fathom why rsync isn't working... Here's my directory and contents... $ pwd /home/alec/.dotfiles $ ls '~' neomutt tmux vit gitconfig mbsyncrc myclirc ...
0
votes
0answers
19 views

extracting files using rsync

I am working on pf-sense and its integrated with suricata, when alerts are generated it stores the file into directory containing multiple sub-directories. I want to extract all the files from these ...
0
votes
0answers
22 views

Files and drives

##I am using Macos high Sierra 10.13.6 I used (select ) the second disk (disk1s2) for backup on timemachine by mistake, then I unselected it then delete it the time machine file on the image of the ...
0
votes
0answers
36 views

How to find out what's taking the longest time during a backup with rsync?

I'd like to find out which parts of a frequent backup (with only few changes in between) take the longest to reduce the time needed for it and reduce the I/O stream. I'm using backintime (BiT) for the ...
0
votes
1answer
29 views

develop of a bash backup.sh for rsync between linux and cygwin

i work on a debian 10 server with ispconfig 3 the backups files is in /var/backup/web*/*"Today"*. (exemple : /var/backup/web30/db_c1gifts_2020-07-25_00-07.sql.gz i install cygwin on my ...
0
votes
2answers
257 views

Using rsync to create a complete OS backup/clone sufficient?

Will using rsync to duplicate an entire file system, e.g. doing rsync -avxHAX --progress / /dev/[backup disk] as suggested here, result in a complete duplicate Linux system? I.e. will all system and ...
0
votes
1answer
28 views

Does rsync support hot transfer while the system is running?

I want to use rsync for creating complete, bootable backups of a LUKS-encrypted Linux disk. Does it support hot-transferring of files, i.e. can I use rsync from a running (idling) system with opened ...
2
votes
1answer
28 views

Backup tool for pulling files out of encrypted disks?

Are there any backup/cloning/recovery tools that can pull files from LUKS-encrypted disks while dropping free blocks? Something that runs from within the unlocked system and hot-transfers the files, ...
2
votes
1answer
29 views

Using live Linux or custom distros as backup?

There are tools such as Remastersys (and possibly also Linux Live kit) for creating custom distros and live Linux systems. Is it possible to use them to create a complete system backup, i.e. ...
1
vote
2answers
70 views

Can rsync be used to only copy change within an archive?

Let's say that I compress my web hosting into a tar.gz archive in order to create a backup called backup.tar.gz. One month later I want to repeat the process. Let's assume that I'm actively developing ...
2
votes
1answer
53 views

Deja Dup: `Unable to find the server at www.googleapis.com` and `FileNotUploadedError is not defined` during upload

(Note: I'm going to post this as a bug report on Launchpad, but I'm posting here too because I found a work-around that I wanted to share in case others are in my situation.) I've recently installed ...
2
votes
1answer
78 views

Tar incremental backups - skip restoring deleted files

To restore an incremental backup we need to first restore the full backup then the incrementals in the same order then deleted files are removed. It is useless to restore files then delete them and ...
0
votes
1answer
64 views

Sparse, bootable Linux images? [closed]

I've set up a new Linux workstation and would like to create a backup image in order to save time in case something breaks. This is the situation: Workstation: 512 GB SSD, 12 GB used, ext4 file ...
0
votes
1answer
34 views

Can GNU tar incremental backup use checksums?

According to GNU tar manual: Incremental dumps depend crucially on time stamps, so the results are unreliable if you modify a file's time stamps during dumping (e.g., with the `--atime-preserve=...
-3
votes
1answer
25 views

Backup the apt update downloaded files

When I use apt update command it downloaded a 14 mb in that 14 mb how can I backup that so I can put it back to not repeatedly downloading it, because I'm always using live boot. Edit: Why my ...
0
votes
2answers
57 views

How to sync/backup files whenever change is detected?

I have two partition, one for use and one for backup. So, is there any tool for syncing the folder from first partition to second. Also, the tool should sync immediately whenever a change is made to ...
0
votes
1answer
41 views

Save files to be deleted by rsync on a directory [closed]

I have a cronjob running every 2 hours a script containing a few rsync job to sync my pc to my homeserver. Most lines look like this one (some have --exclude arguments): rsync -e ssh -a --delete --log-...
0
votes
0answers
13 views

Where does vagrant store generated keys?

By default vagrant generated keys to replace the insecure one. However I have no idea where they're stored, and I'm trying to back them up. Where are they stored? (On Ubuntu 20.04)
0
votes
1answer
66 views

# dd + lz4 compression and de compression

I have a CentOS server and I have take a backup of the server using following command (dd + lz4). # dd if=/dev/sda bs=100M | pv -ptera -s500G | lz4 > Lenovo-Win8-sda.dd.lz4 It's working and now I ...
0
votes
1answer
29 views

Root partition full due to rsync personal files to remote server via fstab ip address mounted in /mnt

I have been running my rsync routine on a crontab process for the past couple of months but today I received an error related to lack of space in my root directory. As explained in the title, I have ...
-2
votes
2answers
76 views

Copying or restoring crtime for files/directories on ext4fs filesystem

I wonder if there are ways to copy or restore crtime (creation time) for inodes/files/directories in Linux in 2020. I've accidentally deleted a folder while I still have a full disk backup, but ...
0
votes
1answer
23 views

Got Download Traffic While Uploading With High Speed

When I upload my backup using ftp to my backup server, my upload speed get to 1.5Gb/s which is good! BUT I see strange things on download traffic!! When my upload speed get bigger than 1Gb/s I see ...
0
votes
3answers
32 views

rsync basic usage, not backing up as expected

I'm doing this: rsync ~/Desktop/files/ /media/myDrive/ -vbrh --progress for backing up (-b) recursively (-r). I requested also verbose and human readable output, and a progress bar. Now if I ...
1
vote
0answers
13 views

Using link-dest thwarted by permissions

I'm trying to do a weekly archive of a source folder using the previous week as a source for link-dest. However, the actual source folder has one set of permissions (on files) that differ from what ...
4
votes
2answers
122 views

How do I write sequentially several tar's to a tape?

I am trying to write several directories to a tape. Each directory with one tar command. So I have the following sample file/directory structure: user@host1:~/temp/original % find . . ./foo1 ./foo1/...
0
votes
1answer
25 views

How to find all files that were modified since last backup?

I backup all my files (with borgbackup) every 2-3 months to an external harddisk I store off-site. The problem I want to solve is how to protect the files that changed since the last backup. These are ...
0
votes
0answers
40 views

How can I know how many files are stored in a tape?

I have installed an SCSI DDS4 tape drive and I have read: https://www.freebsd.org/doc/el_GR.ISO8859-7/books/handbook/backups-tapebackups.html and https://docs.freebsd.org/doc/2.1.5-RELEASE/usr/...
0
votes
1answer
58 views

virsh / qemu external snapshots fail with more than one disk

I am running into this problem and have found no answer in my research. There is a similar post on SuperUser that hasn't had a comment, much less an answer, in close to 10 months. Maybe that is not ...

1
2 3 4 5
24