Skip to main content

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
1 vote
1 answer
21 views

Can Ed be configured to automatically create backup files?

Is there a way to have Ed create backups of the file currently loaded into the buffer. On occasion I have inadvertently overwritten my file and found it's not recoverable. I.e. making a backup file ...
Edman's user avatar
  • 522
2 votes
1 answer
59 views

How do you back up an entire Fedora Linux system at the file level?

Allegedly, it is possible to back up a complete Linux installation simply by copying the root directory's contents to a new partition, thus preserving all packages, system settings, user settings, etc....
Sekibun's user avatar
  • 21
0 votes
2 answers
63 views

Many of my text files are suddenly missing

I am using Manjaro linux with a Samsung SSD 840 Pro. Ive noticed my Documents folder is suddenly empty. After rebooting, most of the text files I had saved are no longer there. The problem is some of ...
Rachel1983's user avatar
0 votes
2 answers
33 views

Ubuntu Server disk cloning + saving on another disk in network

This my first question here and bear with me if some info is missing. So, i have this technical problem: I have a Ubuntu Server installed on a Raspberry Pi 4 Model B ( so on ARM ) and i need to do a ...
Adrian's user avatar
  • 1
0 votes
0 answers
32 views

Deleting incremental backups created with rsync and symbolic links: recursive effect?

I am doing incremental backup according to the following example found there: https://linuxconfig.org/how-to-create-incremental-backups-using-rsync-on-linux #!/bin/bash # A script to perform ...
ecjb's user avatar
  • 445
0 votes
0 answers
28 views

What is a best way to do backups of Linux-based application running on computer with two disks?

I have a nettop PC on which the Proxmox VME is installed. There is a VM running there, which hosts application (on Ubuntu OS). This PC has two SSDs installed. On first disk the Proxmox is installed ...
Mateusz Michala's user avatar
0 votes
0 answers
26 views

How to turn off Sanoid's snapshotting for a subtree of datasets?

I'd like to set up Sanoid to create snapshots of my system dataset, except for the Docker images under /var/lib/docker. I have the following two templates: [template_system] frequently = 0 ...
Cactus's user avatar
  • 845
0 votes
0 answers
13 views

Dubious error message related check with borg backup (borgmatic)

Running borg backup (using borgmatic), I got the error message: Ignoring check_last option, as "archives" or "data" are not in consistency checks Ignoring consistency prefix option,...
t777's user avatar
  • 111
0 votes
1 answer
31 views

check files difference with multiple folders

I would like to check when a file differ inside a backup system using snapshots. I have several folders with the same architecture inside ls -1 .snapshot 4-hourly.2024-04-14_0405 4-hourly.2024-04-...
ppr's user avatar
  • 1,917
2 votes
1 answer
58 views

Moving from plain LUKS to LVM on LUKS

At installation I forgot to create a logical volume group in LUKS container. I won't reinstall the system. So how do I create LVG in LUKS container without data loss? My plan is: Install lvm2 package ...
MPEI_stud's user avatar
1 vote
0 answers
23 views

vgrename but without writing to storage (read-only PV)

when dealing with image backups of systems I often run into issues with the VG within the mounted backup image having the same name as the live one. Also because the backup is read-only I cannot ...
K. Frank's user avatar
  • 111
0 votes
0 answers
35 views

External usb SSD Restic/Backrest backup automation

I've a zimaboard micro server with proxmox and a debian 10 CT that is delegate for backup system (Restic/Backrest) with an external usb ssd always attached. It is possible to pilote the external usb ...
Alessandro's user avatar
0 votes
1 answer
93 views

Recover poorly backed up gpg secret keys

I have just restored my data from a borg backup repository after a computer failure. My ~/.gnupg folder seems fine, private keys are there, and permissions look correct. Usually borg does a good job ...
lyndhurst's user avatar
1 vote
3 answers
139 views

The proper way to backup

I want do regular, automated backups to a raspberry pi in my homenetwork. It is sufficient to do backups, when at home. Every singe guide I read on 'how to do automated backups' tells me to put a ...
grbll's user avatar
  • 35
1 vote
0 answers
15 views

Things to back up when moving from ubuntu to fedora

I have decided to move from ubuntu to fedora for a change, but I don't know what files and directories to back up other than /home, and if i should back up the dot files and directories in /home or ...
Krrish Dhaneja's user avatar
0 votes
1 answer
129 views

When/where to set network bond (active-backup) interface priorities on boot?

This is a follow-up to linux bonding active-backup mode set priority for multiple interfaces? I'm too new to post a comment there. I've confirmed that ip link set dev <x> type bond_slave prio &...
David's user avatar
  • 3
0 votes
1 answer
46 views

Cannot find out which files were not copied with rsync

I copied files using rsync with: rsync -trvh "/media/user/HDD/Arch/" "/media/user/my_drv/Arch/" && rsync -trvhc "/media/user/HDD/Arch/" "/media/user/my_drv/...
vasili111's user avatar
  • 113
0 votes
0 answers
18 views

How to copy local directory to external drive and ensure file integrity while multiple computer unexpected restarts can happen. rsync, other?

My computer has restarts often unexpectedly. I am trying to backup data to external drive. Is the rsync best tool for that kind of job that can ensure file data integrity? If yes, what command should ...
vasili111's user avatar
  • 113
1 vote
1 answer
88 views

GNU tar how to preserve file immutable attribute set by "chattr +i" in Linux?

I want use tar(GNU tar 1.30) to backup files with immutable attribute set by "chattr +i" in Linux. Command lines below: mdx@e5450:~$ touch test.txt mdx@e5450:~$ sudo chattr +i test.txt mdx@...
littlebat's user avatar
1 vote
1 answer
161 views

Copy from HDD to USB 3.0 is really slow with Thunar, cp, and rsync

I was trying to copy files with rsync from my laptop to a USB 3.0 external hard drive, but it was going really slow. Just for reference, this is the command I was using: rsync -a src/ dest/ --info=...
giusti's user avatar
  • 1,737
1 vote
0 answers
19 views

How to backup and restore fprintd fingerprints?

I have configured fprintd on Arch Linux by following the wiki and enrolled fingerprints with fprintd-enroll. According to this question the fingerprints should be stored at /var/lib/fprint/ and /etc/...
StrongBad's user avatar
  • 5,311
0 votes
0 answers
26 views

rdfind-like tool to sparsify rsync operations

I use rsnapshot to take regular, automated snapshots of the home directory on my desktop (which runs Ubuntu on sda) and save them to a spare internal harddrive (sdb). Occasionally, I manually copy (...
Max's user avatar
  • 193
1 vote
0 answers
138 views

how to restore a backup created with kbackup

ok so I made a backup using the program "Kbackup" on my kali linux. it created a .tar archive and for the life of me i cant figure out how to restore it using kbackup because it says it can ...
Dylan Long's user avatar
1 vote
0 answers
63 views

rsync Problems using Parameter backup-dir

In all cases I use rsync it works like expected. And very fast. For example: rsync -a --exclude='.*' --stats --progress --delete --backup --suffix="OLD" SOURCE TARGET needs (with no ...
OpaPeter's user avatar
0 votes
0 answers
18 views

list btrfs subvolumes within a specific qgroup (quota0

I need to determine what data would be lost by deleting a specific qgroup. X-Y is that I have a qgroup taking up 50GB of exclusive/unique space that I am suspicious is stale/unreferenced, but don't ...
some bits flipped's user avatar
1 vote
0 answers
80 views

Is it possible to restore files from a Borg / Vorta backup repository from another machine?

I have used an external disk to backup a laptop, for several months, using Borg-Vorta, under Linux Mint 21.3. The laptop has had a major failure, and is no more accessible. Now I have a new laptop, on ...
Fabio's user avatar
  • 487
0 votes
0 answers
51 views

Best way to backup nextcloud with multiple users and only remote (webdav, client) access?

I have an externally hosted nextcloud for which I have admin access but no access to the server (no ssh etc). There are multiple users but family only - so assume all user passwords are known. The ...
André's user avatar
  • 101
0 votes
0 answers
73 views

Timeshift stuck on creating first snapshot

The snapshot does not progresses: sudo timeshift --create --verbose --debug --comments "primeiro snapshot" --tags D [sudo] senha para vfbsilva: D: Main() D: D: Running Timeshift v24.01.1 ...
vfbsilva's user avatar
  • 3,717
0 votes
1 answer
53 views

Why does `du` report that my `rsync` backup is not the same size as the original?

I'm creating a backup of my $HOME directory on an external storage drive using rsync, using the following options: --archive --xattrs --hard-links After a fresh backup, du reports that the sizes of ...
jth's user avatar
  • 195
1 vote
1 answer
65 views

mirror a directory tree by hard links for file contents and symlinks for directory structure

what is the best way to mirror an entire directory, say original/, to a new directory, say mirror/, which has the structure mirror/data/ and mirror/tree/, such that every file in the directory ...
windfish's user avatar
  • 113
1 vote
0 answers
102 views

How to correctly restore a backup to corrupted btrfs?

I have btrfs with some amount of corruption that in logs looks like that: BTRFS warning (device dm-0): csum failed root 261 ino 638264 off 6221824 csum 0x3315c12e expected csum 0xc1eecea6 mirror 1 ...
Kos's user avatar
  • 11
-1 votes
1 answer
38 views

How to read and restore the last megabyte of a drive using Python

I'm writing some code to do backups of my hard drives, using Python 3. My issue is that some RAIDs and other things hide stuff in the first and/or last megabyte of some drives. I want to make sure I ...
ForDummies's user avatar
2 votes
0 answers
44 views

Can rsync copy all files (including special ones like soft and hard links) from a ntfs partition to another one?

To make backups for my computer, I installed Xubuntu on an external hard disk to boot from and create images in another partition on the external hard disk. This also ensures that the file systems of ...
Adalbert Hanßen's user avatar
2 votes
0 answers
55 views

Boot Image from Running Ubuntu

I have a Linux system running in another place, which I use as processing server. Now I'm acquiring a new one and I would like to export all the configuration programs and maybe folder structure to ...
Casting Spell's user avatar
0 votes
0 answers
167 views

How to use dd for only allocated space?

I want to backup whole disk using DD. I have a 512 Gb disk with 3 partitions who take only 8 Gb and the rest is unused. root@routerMARS:~# parted /dev/sda print Model: ATA MT-512 (scsi) Disk /dev/sda:...
filimonic's user avatar
  • 131
0 votes
0 answers
43 views

20+ backup directories, I'd like to dedupe all files to 1 "master directory"

As the title suggests, I have inherited a file structure where there are about 30 "complete or partial backups" of a fileserver full of text files. This obviously makes no sense, and I'd ...
Frank Rizzo's user avatar
0 votes
1 answer
56 views

Why using Grsync to synchronize pendrives in opensuse leap 15.5 , when I insert them in a windows10 OS they are seen as corrupted even if they work?

When I use grsync in opensuse leap 15.5 to synchronize pendrives, it works perfectly , only when I insert one of those pendrives in a windows10 OS they are seen as corrupted and a correction is ...
Harlequin's user avatar
1 vote
2 answers
281 views

What is the best approach to backing up the /home directory to NTFS partition? [closed]

I would like to do backups of my /home partition of my computer with Linux (Lubuntu 20.04) on weekly basis. The catch is that the only extra hard drive I own is connected to Windows machine. It seems ...
S. N.'s user avatar
  • 297
0 votes
1 answer
67 views

Rsync doesn't handle time correctly on a mounted folder on MacOS

I have a mounted a folder from my NAS with mount -t smbfs -o -d=755,-f=755 //nas.local/backup ~/backup. I now try to rsync a local folder to this distant folder with something like rsync --modify-...
RobinFrcd's user avatar
  • 103
0 votes
1 answer
36 views

What to consider when making a copy of a system with rsync?

So I've got this USB stick with a Linux system on it and the plan is the following: I want to have a backup program on the USB stick that backs up the system to a server. The server has another USB ...
user avatar
0 votes
0 answers
51 views

rsync from ntfs to exfat drive size balloons out of proportion despite --inplace flag

I recently had an issue with my NVME windows drive, and need to back up all the data from it. I'm currently working from a liveUSB of zorin and trying to use rsync to copy the data from the ntfs ...
Wyth's user avatar
  • 1
0 votes
0 answers
69 views

Systemd Script to backup folder - with deletion of old backups?

This script creates a backup of one usb-drive over to another usb-drive, and excludes a temp file like '.Trash', and names the folder the date it was created: 'rsync -augAXPh --exclude '.Trash-*' /...
user210437's user avatar
0 votes
1 answer
119 views

Duplicity does not start new chains with full-if-older-than

I want to use duplicity to backup most of my home folder to Backblaze. I'm trying to set it up so that it does a full backup every month. For this I'm using the following commands which are run daily: ...
werenike's user avatar
0 votes
0 answers
197 views

Mounting Google Drive files in TermUX on Android

I need to mount some Google Drive files in the TermUX client on my Realme 8 5G Android 12 device. This is so that I may then copy and backup some of the files to Github (or, alternatively, it, in ...
Joselin Jocklingson's user avatar
0 votes
1 answer
204 views

How do I access all the files on a disk image?

To backup a remote server, I ran this command on my local machine: ssh user@remote "dd if=/dev/vda | gzip -1 -" | dd of=image.gz I then decompressed image.gz and tried to mount it by double ...
JacksonHunt's user avatar
0 votes
1 answer
62 views

Trying to periodically backup /var/log while using journald

I'm trying to periodically backup my /var/log directory, but journald manages the logging on my system. Is the correct way to just tar -cf log.tar /var/log? The way journald saves it's log files in /...
user9503's user avatar
3 votes
0 answers
92 views

rsync cronjob succeeds during the day but always fails to find the destination at night. Might my external hard-drive "go to sleep"?

NOTE: there is an easy solution to this problem (i.e., just backup your data during the day!), so this is not an urgent problem. But I have searched extensively on stack exchange and askubuntu and ...
HB.'s user avatar
  • 31
3 votes
1 answer
620 views

Equivalent of `btrfs send` and `btrfs recv` for bcachefs

I'm using a setup I consider to be rather fragile and prone to failure involving LUKS, LVM, btrfs, and bcache. I have used btrfs for a long time, and have never experienced any significant issues with ...
Omnifarious's user avatar
  • 1,352
0 votes
1 answer
29 views

Restoring backed up Linux Partition

Suppose we have an empty drive /dev/sda with lots of space. We also have a partition of a previous Linux backup /dev/sdb1. This contains the usual linux filesystem /home, /usr, etc. What is notably ...
Post Self's user avatar
  • 271
1 vote
0 answers
179 views

Automate Timeshift for external hard drive

I would like to automate Timeshift under Debian. All the snapshots should go into an external hard drive. When I plug in my external hard drive Timeshift should automatically decide in the background ...
Jona's user avatar
  • 11

1
2 3 4 5
29