Questions tagged [restore]
The restore tag has no usage guidance.
162
questions
3
votes
1
answer
60
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 ...
0
votes
0
answers
24
views
How I can return back old "Window Present" effect from KDE 2.24.X in KDE 2.25.X?
I very like KDE, but this new effect is bad(not smooth like old effect), how I can do this?
Present window from KDE 5.24.5
Present window from KDE 5.25.3
0
votes
0
answers
56
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 ...
0
votes
1
answer
14
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.
...
0
votes
1
answer
186
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 ...
1
vote
0
answers
339
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 ...
1
vote
0
answers
29
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 ...
2
votes
1
answer
374
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 ...
0
votes
0
answers
26
views
Linux no longer booting from onboard memory
I'm having issues with a linux device. We have four of these devices where one of them had an error and I tried to restore it using a dd command which might have resulted in breaking the device. I don'...
0
votes
1
answer
139
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 ...
0
votes
0
answers
50
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, ...
4
votes
3
answers
1k
views
Finding an appropriate backup strategy (borgbackup, restic etc)
I am fully aware that questions like this one have been asked multiple times. However, since reading lots of documentation of various backup tools didn't answer all my questions, I think its fine to ...
1
vote
0
answers
60
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, ...
0
votes
2
answers
1k
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 ...
1
vote
1
answer
623
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, ...
0
votes
1
answer
48
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 ...
1
vote
0
answers
248
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 ...
2
votes
3
answers
978
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-...
11
votes
2
answers
2k
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 ...
1
vote
0
answers
59
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 ...
0
votes
2
answers
1k
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 ...
0
votes
0
answers
116
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 ...
0
votes
1
answer
371
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 ?
...
0
votes
1
answer
129
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 ...
5
votes
2
answers
853
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 ...
2
votes
2
answers
2k
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 ...
0
votes
1
answer
223
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 ...
3
votes
1
answer
4k
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 ...
1
vote
1
answer
84
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 /...
0
votes
2
answers
264
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 ...
2
votes
1
answer
196
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/, *...
3
votes
4
answers
13k
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 ...
1
vote
1
answer
648
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 ...
1
vote
2
answers
1k
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
1
answer
349
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 ...
1
vote
1
answer
723
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, ...
1
vote
1
answer
73
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 ...
0
votes
1
answer
895
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 ...
1
vote
2
answers
823
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....
1
vote
1
answer
378
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,...
0
votes
1
answer
460
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 ...
0
votes
0
answers
154
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....
0
votes
1
answer
96
views
Why use tape for restoring AIX mksysb instead of other ordinary drive devices?
I'm intrigued by the fact that the only way to restore a mksysb backup on AIX Unix systems can be done either by using a NIM server or by manually using a tape.
Why is it that you cannot replace the ...
-1
votes
1
answer
89
views
How to do linux snapshots similar to VirtualBox guest snapshot?
I'm still learning how linux works so I'm constantly making mistakes, installing packages in the wrong way and whatnot. A good way of solving this is using VirtualBox and just taking snapshots from ...
0
votes
1
answer
170
views
"Backups" (deja-dup): after installing duplicity 0.8 from source, "Backups" can't find it
When using "Backups" (a.k.a. deja-dup) - it doesn't find duplicity, although it's installed:
I have been trying to backup using "Backups" (a.k.a. deja-dup), and it turns out that the current ...
3
votes
3
answers
8k
views
How can I create an image of a partition (ext4) and later mount it to browse/restore files? [duplicate]
I'd like to backup my current Debian 9 server OS partition so I can install a clean version of Debian 10.
However, after installing Debian 10, I'd like to mount my old OS image so I can browse and ...
3
votes
1
answer
49
views
Restore a removed file when still in use
Is there a way to restore/recover a removed file when it's still in use?
2
votes
1
answer
785
views
How to fix my partition after mistaken gpart bootcode?
I was trying to make my HDD bootable and did
gpart bootcode -b /boot/pmbr -p /boot/gptboot -i1 ada0s1
and now I got "Invalid partition" message on boot.
/boot was from USB drive, not from HDD (...
-1
votes
1
answer
941
views
updates.sh - Command Not Found - Arch linux
I installed Archlabs 1 month later, today I noticed bin folder in ~ directory and Deleted it. After Reboot This errors Came out in polybar
/bin/sh: updates.sh: command not foun
And
/bin/sh: ...
1
vote
1
answer
3k
views
Can I restore my Linux Mint installation from external Timeshift snapshot after switching SSD?
I am using Linux Mint 19.1 "Tessa" on my laptop which has 120GB SSD. I want to change to a SSD with more storage.
I know that with the Timeshift backup utility you can make a snapshot of the system ...