Questions tagged [backup]
Making copies of data so that the copies may be used to restore the original after a data loss event, or for historical retention.
3,974
questions
1
vote
1
answer
87
views
Hardening the security of a backup shell script of a web-server with mysql database
In the case of a simple web-server with a MySQL database, the script has to dump the database, copy the web-server files and tar everything together. Then a NAS server Rsync the tar file via a "...
1
vote
1
answer
100
views
mysql NDB backup fail
I'm trying to abort a backup on a NDB cluster like this:
ndb_mgm> abort backup 2304081512
Abort of backup 2304081512 ordered
But there is no change, the backup seems to be stalled :
ndb_mgm> ...
1
vote
0
answers
93
views
Backup drive on Linux system keeps getting corrupt. How to troubleshoot?
My webserver (Debian BullsEye) has an internal 2TB harddrive which sole purpose is to hold a backup of the server's main HD. Every day a cronjob is started that creates a backup using rsync. But every ...
0
votes
1
answer
416
views
How to compress a directory, using tar, and then delete the directory it compressed?
On my server there is an application directory that I need to make a full copy of it but the copy takes up a lot of space, I need to compress it and then remove it.
I already use the command
tar -czf ...
1
vote
0
answers
60
views
Unable to restore an MSSql Database from an Azure Storage backup
We have a simple sql script to restore an MSSql DB from an Azure storage blob. We backup our PROD DB to Azure Storage.
Trying to run this script (which we swear used to work a while ago).. now errors:
...
0
votes
1
answer
497
views
How to properly make a backup of a virtual machine using QEMU only
This questions asks how one can make a backup of a live virtual machine.
The accepted answer says it is possible with QEMU/libvirt.
My question (since the answer doesn't explain it) is how to do a ...
-2
votes
1
answer
66
views
Backup software that can split files to 3 separate disks [closed]
I have 3To of storage on a RAID5 configuration, and I want to setup a regular backup of these 3To of data on external disks that I would bring to a separate physical location (my office). I have 3 ...
0
votes
3
answers
238
views
Tar backup command for exclude backup files & cache & include only httpdocs subdirectories
I am looking for a tar command that meets the following requirements:
I want to exclude all files ending with: backwpup & .zip (in between and before can be any e.g. uploads/123backwpup-123.zip)
I ...
0
votes
2
answers
83
views
Troubles with Exporting Dovecot Post Boxes
My postfix/dovecot mailserver runs well, but I want to migrate to another server and my problem: I'm not able to export post boxes from my dovecot:
My command (I replaced the email address):
dsync -f -...
5
votes
1
answer
829
views
Linux immutable backup repository deployment architecture best practice?
What are the Linux distributions that are compatible with the Immutable repository?
Can you give me some advice on the best hardware or virtual machine configurations to deploy a large backup ...
0
votes
1
answer
513
views
Automysqlbackup does not use the configured password
I have automysqlbackup installed on debian. I added USERNAME and PASSWORD to /etc/default/automysqlbackup, but when automysqlbackup runs, I get the output:
/etc/cron.daily/automysqlbackup:
ERROR 1045 (...
0
votes
0
answers
104
views
backup /home over sftp - root
My current task is to set up a (remote) backup (using rsync/rsnapshot) over sftp of /home (linux). Obviously some files are read only for the owner (ie -r-------; and should stay that way) so i guess ...
3
votes
4
answers
599
views
Best way to backup a WordPress site on EC2 instance
My WordPress site is sitting on a single EC2 instance. My site has 60GB worth of files and a 800MB database size. My site is running out of space just by running the Duplicator plugin to back it up. ...
0
votes
0
answers
41
views
Data reconciliation for applications
I need to create a plan for a catastrophic data loss scenario where I need to recover some services (multiple apps each) from bare metal using data backups.
The process (i believe) requires the ...
0
votes
0
answers
410
views
cron / crontab : auto delete oldest backup files when new files get backed up, only if disk space is near capacity
I am using crontab (on Ubuntu Server 20.04) to automatically create daily backups of a text file and storing them on an external hard drive. I am using the following crontab to create my backups:
@...
1
vote
1
answer
115
views
IIS backup is backing up old history not new live data from IIS (All sites and Pools not new)
Windows 2016 Core Servers / IIS10
==IMPORTANT==
The backup seems to be backing up OLD data.
It seems that it is picking up on history instead of backing up the LIVE data.
This will explain WHY it is ...
0
votes
1
answer
237
views
Does daily rsync OS backup push SSD drives to its limits?
Since past year I'm using Rsnapshot (which uses rsync) to do my daily laptop Linux Ubuntu OS backup to a local NAS.
Some months ago I started having serious problems with the OS stability. It seems ...
0
votes
1
answer
191
views
rsync: updated files to new folder
rsync allows to copy/synchronize folders without transferring files that already have been synchronized before and that did not change since last run. For that, you typically have to specify the ...
2
votes
1
answer
200
views
Puzzling issue with Hyper-V backup (volume shadow copy) integration and DPM 2019
I have a Microsoft DPM 2019 server that's been backing up various Windows Hyper-V VMs without issue until recently. No apparent changes have been made, but now a particular VM is failing its backup ...
0
votes
3
answers
643
views
Before-snapshot script hook for Windows guest on Proxmox?
I have a Proxmox server setup with a Windows 10 guest that will be running MSSQL Express. The Windows guest has QEMU guest agent installed and working. For backups, I have a separate server running ...
0
votes
0
answers
119
views
Does NetApp allow third party tools to get access to the volume directly?
NetApp has a notion of
logical storage,
volume used and available space
The logical storage deviates from volume used and available space, because the used space has storage optimizations like ...
1
vote
0
answers
93
views
Use flock to back up sqlite?
I want to back up an SQLite database file without making a local copy to avoid flash memory wear. I'd also like to avoid moving the partition to a snapshottable file system like LVM.
I figured I could ...
0
votes
0
answers
298
views
Hyper-V Production Checkpoint issue with Debian 11 Linux VMs
Just added the first Linux VM (Debian 11) to Hyper-V Server Core 2016. An error is raised while exporting VM with
Get-VM ... | Export-VM -CaptureLiveState CaptureDataConsistentState ...
The message ...
0
votes
1
answer
635
views
Can I run a Select query on an SQL dump?
Here is my issue. I've a backup system, that creates an SQL Dump from a DB cluster every day. Works fine, yade yade. The cluster died one day and we realized, the sql dump were wrong for the past 1 ...
1
vote
3
answers
121
views
What happens if the only DC fails?
I recently started an internship in System Administration and I am currently tasked with researching and potentially setting up an on Premise Active Directory in our company.
Lets say, I am running ...
0
votes
0
answers
364
views
How to snapshot a local Ubuntu machine
I have an old laptop with an external HDD as a home server.
The server runs Ubuntu 22.04. It is my DNS server (pi-hole), file server (smb), a web server for local sites, a bunch of python scripts on ...
1
vote
0
answers
33
views
Why does cdrecord alter my image when writing to CD ROM and how can I avoid it?
I want to use optical media for backups and hence created a luks image equivalent to that of a 80 min CD-ROM and recorded it twice using the cdrecord
# first run
$ cdrecord -v dev=0,0,0 image.luks
# ...
4
votes
3
answers
735
views
How does Azure Backup backup running VMs?
We are planning on implementing Azure Backup backups of our VMs but I'm struggling to find any documentation that clearly states how the backups are taken?
I see snapshots are being taken but how does ...
0
votes
1
answer
351
views
How to efficiently backup shares (ZFS). Folder structure might change but media usually do not
The Issue: I have 18 large shares (each 24TBs), that contain lots of big media files. Mostly the media files themselves stay untouched. However, sometimes the folder structure changes, and thus my ...
0
votes
1
answer
104
views
"Append only" file attribute triggers incremental backup of file
"Append only" attribute set with this command chattr -R +a /mnt/A causes bacula to keep incrementally backing up files, even if they did not change.
I was able to determine this by comparing ...
1
vote
2
answers
2k
views
Bacula TLS negotiation failed
Problem with Bacula, the Director and storage on the same host (...151), client on another host (...139). I don't use TLS/SSL between director and client, when i run the job i get an error. How can ...
2
votes
1
answer
1k
views
How to get SNMP on HP StoreOnce working?
I'm trying to add HPE StoreOnce 3640 Gen4 to the Nagios using SNMP v3 (other SNMP versions aren't supported in this device), and I'm stuck. It has the SW version 4.2.1-1942.21.
This is not the first ...
1
vote
2
answers
419
views
ETCD restore granularity
I'm studying some backup and restore solutions for Kubernetes and Openshift, typically with Velero. So, I'm not familiar with ETCD backups, but I would like to ask about the granularity level of etcd ...
0
votes
1
answer
534
views
bacula: is file deleted after file retention period is passed?
volume retention period is set to 365 days
job retention period is set to 180 days
file retention period is set to 60 days
if file is unchanged on drive for 60 days, will I be able to recover it ...
0
votes
1
answer
270
views
Is the approach of backuppc (or similar backup architecture) safe in principle?
I'm looking over a physical server that runs VMware and 4-6 VMs (mostly Linux but also Windows10/11). Currently I'm backuping only 2 Linux VMs (the others aren't critical), by mounting an NFS share ...
0
votes
1
answer
380
views
NAS de-duplication best practices - how do hardlinks handle compression?
I just joined a SMB as their first full-time tech guy, and the company's backup architecture is a mess. Leaving aside all other issues (of which there are many), the office has multiple different NAS ...
1
vote
2
answers
240
views
MS SQL maintenance plan not running if server is off
I am maintaining an MS SQL 15.0 (2019) server, and part of that includes a nightly backup of the databases. I have a Maintenance Plan that is run by the SQL server agent just after midnight each ...
0
votes
1
answer
230
views
Backup from S3 to S3
I'd like to backup multiple S3 buckets into another S3 buckets. It seems like most backup tools only support S3 as a destination, but not as a source e.g. restic. The backup should support pruning, ...
0
votes
0
answers
126
views
Monitoring tool for remote borg repository
I am currently using Borg Backup which is connected to a remote repository hosted in Hetzner. Borg is being run daily via cron. While I place some log files to see if backup is working, I would like ...
0
votes
1
answer
447
views
Azure Recovery Services Vault - Reduce Total Backups Stored
My client is looking to reduce the number of VM backups stored in their Azure Recovery Services Vault (RSV) since total storage exceeds 100+ TB in each environment and costs are adding up. Each RSV ...
-1
votes
1
answer
79
views
Backing up my filesystem with 500GB of data. One big tarball or many small tarballs?
I have 500GB of data that I want to compress into an encrypted gpg tarball and backup onto multiple storage devices including external hard drives and cloud storage.
Is it better to backup my entire ...
0
votes
1
answer
492
views
Bacula : How start multiple jobs at the same time?
I'm using the web interface baculum of bacula and I have a question :
When i want to run a job manually, I press the button "run job" but I can start only one job. But I have a group of 5 ...
0
votes
3
answers
204
views
Magnetic tape alternative [closed]
I have recently been assigned as a systems administrator to look after a streaming service and its related server architecture.
Once a week i travel 3hours to turn around a magnetic tape library which ...
0
votes
1
answer
204
views
Gitlab backups have recently ballooned
I've installed and am running Gitlab via Omnibus installation.
For years my Gitlab backups have hovered around 1 gigabyte, total. Over the last year or so though, they have ballooned in size and now a ...
3
votes
1
answer
2k
views
Change Docker Volume storage location
Since nearly the beginning, I have used mount binds for persistent data with docker, as the official way of backing up a docker volume is to give it to another container to save it in a tar...
Just ...
0
votes
0
answers
517
views
Backing up files to external drive with rsync
So my scenario is that I have been using rsync to backup files from an internal drive to an external USB drive. The backup is only about 50% done and I want to backup the remaining files to a second, ...
0
votes
1
answer
152
views
error 1258 when restoring from Actifio
I am using ActifioGo on Google Cloud and took a snapshot. When I try to restore it, I get an error message like:
1258: Cloud VM creation failed. 155: VM task failed. Error: Cloud task failed
gcp:...
1
vote
0
answers
573
views
Windows Server 2019 high round-trip time low transfer bandwidth
I have two Windows Servers 2019 with a round-trip time of 88 ms between them. When I try to measure bandwidth with iperf3 I get only around 16 Mbits/sec in both directions with a single stream. To get ...
1
vote
1
answer
481
views
What is the proper way to back up ISC DHCPd lease files?
According to this answer, DHCPd lease files are cleared every hour. The goal is to back up the leases file continuously, so there is never a lease lost. This is made difficult since it is unclear ...
0
votes
1
answer
1k
views
Mount DD image of LVM partition
I am in a conundrum. I need to extract data from a backup image I created previously. I thought I knew enough about LVM to get by... at least until now.
It seems my blunder is that I backed up an LVM ...