Questions tagged [restore]
The restore tag has no summary.
173 questions
7 votes
2 answers
1k views
~/.local/share is set for what? And can I ignore it at backups?
I wonder if ~/.local/share contain real user data or if it only contain session-related data and binary generated stuffs. I also wonder if I can include it in an --ignore statement with BorgBackup ...
1 vote
0 answers
134 views
Backup of KVM/virsh VM
I want to create backups of my running KVM VMs using virsh (qcow2). The VMs don't have snapshots, but in order to create a clean backup I want to create a snapshot, back up the backing file then ...
4 votes
1 answer
371 views
Restore deleted bytes after a `wipefs` on Linux
After re-installing a Linux machine, I inadvertently ran wipefs -a on the installer pendrive: $ wipefs -a /dev/sd? /dev/sda: 8 bytes were erased at offset 0x00010040 (btrfs): 5f 42 48 52 66 53 5f 4d /...
0 votes
0 answers
144 views
Restoring a clonezilla Image of two independent Disks on a computer with only one Haarddisk with two partitions
My system is seated on 2 Disks: /dev/nvme0n1p2 239152936 88597432 138334364 40% / /dev/nvme0n1p1 101158 4914 96244 5% /boot/efi /dev/sda2 927306756 520268880 359859552 60% /...
1 vote
1 answer
167 views
How to copy/rsync? old home folder from a full timeshift snapshot with original dates? possible? how?
I have done one (whole disk, including home folder, even root folder) timeshift snapshot yesterday quickly, expecting an SSD failure soon. Well I did not expect it so soon, it happened today, SSD ...
0 votes
1 answer
57 views
How to set back file ownership from a reference (/etc) directory to a copy on Linux?
Context : Debian 12 system recovery trial after a btrfs file system corruption (roots tree) with no backup but access to all(?) the files. I made a copy of the system after the corruption, everything ...
1 vote
1 answer
552 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 ...
0 votes
1 answer
486 views
how to recover a yaml file on ubuntu 22.04?
I've googled and searched for the answer, but non of the software mentioned on the answers can search for yaml file?. I've changed the config of Foremost duplicating the txt line, changing the txt ...
2 votes
0 answers
116 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 ...
0 votes
1 answer
173 views
I deleted my backup.tar.gz instead of extracting it, can I restore it?
I created a backup with # tar -cvpzf /run/media/user/XYZ/backup.tar.gz --exclude=/run/media/user/root/mnt /run/media/user/root/ now I need the backup and when I tried to extract the tar.gz archive I ...
0 votes
1 answer
114 views
How to restore the last trashed file using a non-interactive command?
Say I just moved a file to trash from a file manager or using a command-line implementation such as kioclient move my_file trash:/. Can I restore it with a single, non-interactive command? trash-cli ...
1 vote
1 answer
115 views
Almost empty disk after some actions on arch
I have an arch linux with ext4 partition I had a working system and decided to make some backups Here's what I've did: Installed timeshift After opening it I've decided to install btrfs-progs (I was ...
0 votes
0 answers
2k views
activating LV 'pve/data' failed: Check of pool pve/data failed (status:1). Manual repair required! (500)
Good afternoon, I'm asking for help in recovering damaged metadata after a 220V drop on the server, when the power was restored and the server booted up, I got an error in the Proxmox panel activating ...
0 votes
2 answers
514 views
Restore lost bootloader on a luks partition
I need an advice about a bad situation. I was installing a new linux ditro by using my main PC. I booted with the ISO and then installed the distro on /dev/sdc, which was an external USB drive. My bad,...
3 votes
1 answer
130 views
How to backup DST config before applying new update?
to check "Daylight Saving Time" config for a time zone we can use this command: zdump -v <timezone> However sometimes the policy of a country changes. new updates can be downloaded and ...