Skip to main content

Questions tagged [restore]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
49 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 ...
Vlastimil Burián's user avatar
0 votes
0 answers
74 views

Fedora installation / Restore Timeshift snapshot from LiveUSB

When I used Ubuntu, in grub i had "Rescue Mode" which I could use to restore timeshift snapshots in case I break the system and the OS refuses to load. Now I use Fedora 40, but I've no such ...
JohnFlamel's user avatar
0 votes
1 answer
30 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 ...
lalebarde's user avatar
  • 265
1 vote
0 answers
182 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
0 votes
1 answer
233 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 ...
Eugene1111's user avatar
2 votes
0 answers
57 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
1 answer
85 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 ...
c4tz3r's user avatar
  • 1
0 votes
1 answer
65 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 ...
Nahoj's user avatar
  • 119
1 vote
1 answer
64 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 ...
Masafi's user avatar
  • 13
0 votes
1 answer
1k 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 ...
user avatar
0 votes
2 answers
310 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,...
cips's user avatar
  • 3
3 votes
1 answer
108 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 ...
BlackCrystal's user avatar
0 votes
0 answers
160 views

How to recreate wildcard lines from `hexdump` output?

I have a problem: I have some old hexdumps laying around as text files. I want to recreate the files they represent because I'm interested in what these files were. The problem is: When I created ...
Lampe2020's user avatar
  • 105
0 votes
1 answer
18 views

Restore images / pictures chunked into many files

i am trying to find a way to restore image files that got chunked due to a restore from a broken harddrive. I am not sure if those files are in correct order or are at all recoverable as images. ...
Ralph Segi's user avatar
0 votes
1 answer
999 views

How lookup deletion date of files in Trash from command line

I want to restore I file I deleted accidentally. I cannot go to the trash/wastebasket folder and simply restore the file, because I've no idea what the file was. I deleted it by accidentally pressing ...
markling's user avatar
  • 213
1 vote
0 answers
913 views

Issues running an automatic and unattended clonezilla restore drive

When I try to run an automated and unattended restore via Clonezilla it returns the following error: Now run "ocs_prerun": mount /dev/sdb2 /mnt... Mount: /mnt: special device /dev/sdb2 does ...
newman's user avatar
  • 21
1 vote
0 answers
50 views

Won't Boot After Removing Sound-theme-freedesktop freedesktop.org from Linux mint 20.3

I removed sound-theme-freedesktop from linux mint 20.3 software manager because I thought it was unnecessary sounds that I don't need or use. After doing so, I rebooted and the system just hangs on ...
Defcon's user avatar
  • 33
2 votes
1 answer
2k views

Restoring a backup with rsync

I'm getting back into Linux and am running Kubuntu 21.10, and I want to make a proper full backup of the system now that I've configured it how I like. This is the command I used to create a backup on ...
tommythecat42's user avatar
0 votes
1 answer
340 views

How to browse an img from a broken drive (restore lost data)

Currently I believe I'm experiencing drive (HDD) failure. It is a single partition drive for extra storage. When I attempt to mount it I get the following error: # mount /dev/sdc1 /mnt mount: wrong fs ...
php_nub_qq's user avatar
0 votes
0 answers
86 views

the suggestions about restoring the directories under /var?

Terribly sorry for this basic question, I'm a newbie to the linux world. Currently I have a RHEL 7.5 machine which should normally have the following stuff under /var directory: adm, cache, crash, db, ...
user53815's user avatar
1 vote
0 answers
197 views

ssh_host_[algorithm]_key group owner changed after OS restoration

I've this weird problem which I can't find an answer. Recently I restored a linux machine (RHEL 7.3) from the OS tar archives. Steps taken are as below: Create OS related filesystems tar archives, ...
bongsf's user avatar
  • 11
0 votes
2 answers
3k views

How can Nextcloud data be backed up and restored independently? (Versioning / Snapshots)

Whenever multiple users are interacting with a Nextcloud installation, there is a possibility of error. Potentially, a family member may delete an old picture or a co-worker might accidentally tick ...
Prototype700's user avatar
2 votes
1 answer
2k views

How to kill chrome under Linux so that it'll resume next time

How to kill chrome under Linux so that it'll resume/restore the sessions when it is started next time? It's a trivial thing to do under Windows, but under Linux, no matter how I tried to kill chrome, ...
xpt's user avatar
  • 1,694
0 votes
1 answer
55 views

Conversion of files into directories, and the possibility of changing them back

Basically what happened is due to a known bug with duplicity I had to manually extract the difftar archives (Difftarchives?) Imagine my shock and slight horror when I saw that many files that ought to ...
NTibbitts's user avatar
1 vote
0 answers
700 views

restoring using timeshift with an encrypted disk from a fresh live usb install

if you're using the live usb (this is specific to pop!_os 21.04, but i think it would apply to ubuntu etc) and you do a fresh reinstall, would you need to boot into the new system to get access to the ...
zfigz's user avatar
  • 11
2 votes
3 answers
2k views

Backup and restore timestamps of files/directories?

We need to backup the a/c/mtime-stamps of files and directories, and have the ability to restore them if necessary. An example command to back up could be: $ timestamp backup --all-stamps --incl-dir-...
leetbacoon's user avatar
12 votes
2 answers
4k views

Backup my EFI boot entry for easy restore

Giving that Windows 10 would most likely wipe my Linux EFI boot entry, See the comment after the answer here: Windows 10 will usually "self-heal" its firmware boot entry if you manage to ...
xpt's user avatar
  • 1,694
1 vote
0 answers
127 views

Tar archive overwrote original file

I was compressing a rosbag file using tar when I mistakenly used the same original file name for the the archive name and had it overwritten by the output archive , the compressed archive size is very ...
Amr's user avatar
  • 11
0 votes
2 answers
3k views

How to restore important deleted package

I run the command apt autoremove, And it accidentally removed some packages, Which I assume is important, because after I run the command, I can't access wifi, I can't find it icon. The output for apt ...
Adil's user avatar
  • 3
0 votes
0 answers
165 views

restore files from backup directory recursively

i backuped hundreds of files from source directory using script, files in my backup directory have the same names, also backup directory's directory structure is also same as source directory how can ...
jerry's user avatar
  • 143
0 votes
1 answer
736 views

Arch linux: restore session with running programs after running out of battery

I have Lenovo notebook with Arch linux. When I run out of battery and my notebook dies, after starting it. It freshly boots new session. Is there a way to restore previous session and continue in it ? ...
Jan Černý's user avatar
  • 1,501
0 votes
1 answer
259 views

Restoring System after crash fails (Ubuntu Budgie 20.04)

My ubuntu 20.04 crashed and now the computer only boots into grub rescue mode. As usual, i wanted to repair Ubuntu with fsck. But the df output doesnt list my hard drives /dev/sda and /dev/sdb. The ...
euler-is-love's user avatar
5 votes
2 answers
1k views

What causes \r's to be inserted before \n's when retrieving a binary file over ssh, and how do I circumvent it?

I have inherited a Ubuntu 14.04 production server which needs to be upgraded to 20.04, and I would like a sandboxed version to experiment with first, hence I want to dump and restore the filesystems ...
Thorbjørn Ravn Andersen's user avatar
3 votes
3 answers
5k views

Restore / roll back single files or folders on btrfs

I am planning to utilize btrfs for a NAS system. Now I am wondering whether it is possible to roll back things to snapshots on a file / folder level. I ask this because typically one only wants to ...
clel's user avatar
  • 151
0 votes
1 answer
327 views

Recover formated Linux Mint encrypted Drive

When installing Windows 10 I accidentally mixed the drives and deleted another one that had Linux Mint and was encrypted, since then I haven't done anything on drive to not overwrite anything. Is it ...
Ester's user avatar
  • 1
6 votes
1 answer
8k views

Rollback root snapshot in BTRFS

I have only 1 BTRFS partition that contains both / and /home. I have snapshotted the root filesystem via the command: btrfs subvolume snapshot / /root/snapshots/test Now I want to restore this ...
ng.newbie's user avatar
  • 1,255
1 vote
1 answer
96 views

How to restore my system to good condition on linux mint 20?

I booted from Linux Mint Live from USB with the aim to separate /home from / separate partition I mounted both the partitions and by mistake moved wrong files to wrong place (while using sudo) mount /...
mck's user avatar
  • 11
0 votes
2 answers
708 views

what is best practice for backup restore on. FreeBSD [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 ...
Rafal Niznik's user avatar
3 votes
1 answer
394 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/, *...
Alejandro Guzman's user avatar
4 votes
4 answers
19k 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 ...
david's user avatar
  • 329
2 votes
1 answer
1k 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 ...
Lasith Anjula Galanga's user avatar
4 votes
3 answers
3k 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 ...
Artem S. Tashkinov's user avatar
0 votes
1 answer
458 views

Accidentally executed luksFormat instead of luksOpen

I have two disks as RAID-1 encrypted via LUKS: # blkid ... /dev/md0: UUID="x-x-x-x-x" TYPE="crypto_LUKS" Accidently I executed cryptsetup luksFormat /dev/md0 instead of cryptsetup luksOpen /dev/md0 ...
user1753343's user avatar
1 vote
1 answer
1k views

Proper way to backup an overlayfs

I'm using an overlayfs for different folders. Now I'm thinking about a backup and restore process. I didn't found anything via google, which answered my question. An overlayfs has an upper, lower, ...
svanschu's user avatar
1 vote
1 answer
201 views

After a reboot is there a way to restore prior windows like terminals and gnotes to what they were before a reboot?

I have a dual boot setup (GNU/Linux-Debian-Buster & Windows 10). Sometimes I have to shutdown GNU/Linux, thus closing all of my many open windows with work in progress, to be able to ...
Elliptical view's user avatar
0 votes
1 answer
1k views

Which OS will be reinstalled with a factory reset from a dual boot?

I have a computer that had been installed with a dual-boot. Currently, there is when I start a grub kernel that handles two OS on multiple partitions (sda1 to sda4): Ubuntu Windows (with some remote ...
totalMongot's user avatar
1 vote
2 answers
2k views

dd: "No space left" when restoring backup to exact same disk

A while ago I made a backup of an entire disk using dd if=/dev/nvme0n1 conv=sync,noerror bs=64K | gzip -c > backup.img.gz Today I restored this backup to the same disk using gunzip -c backup....
pato's user avatar
  • 113
1 vote
1 answer
427 views

A good way how to backup user data in CentOS?

I need to back up my data and I have not found a good way so far. Just say I have 1 TB of a non-system disk with 50-100 GB of user data (binary files, source code, images, etc.). And another big disk,...
Radek Uhlíř's user avatar
1 vote
1 answer
649 views

xfce4 + i3 are not properly restoring saved sessions?

I'm using manjaro with xfce4 and i3 as my wm. So far so good, the problem that I'm usually facing is that whenever I logout from my current session and log back in all my apps are closed and the ...
Kirk Walla's user avatar
0 votes
0 answers
183 views

Odd output from dsmc (Tivoli storage manager or TSM) query backup

I'm using TSM (dsmc) on Ubuntu 14.04. # dsmc IBM Spectrum Protect Befehlszeilenschnittstelle des Clients für Sichern/Archivieren Clientversion 8, Release 1, Stufe 8.0 Client-Datum/Zeit: 04.12....
BurningKrome's user avatar