#backups

memo@pod.mv2k.com

≪ 3:1 = Auswechslung ≫

Ich mag den HP t510 #Thinclient wirklich. Zurzeit bekommt man ihn recht günstig und mit einem Adapterkabel und einer #SSD ist er für zusammen rund 30 EUR recht flott und zuverlässig unterwegs.

Auch der #Raspberry Pi 3 ist, wenn er nicht überfordert wird, immer noch ganz brauchbar. Leider nur mit einer weniger zuverlässigen SD-Karte.

Zusammen summiert sich allerdings auch der #Energieverbrauch und ich habe deshalb beschlossen, alle drei Geräte in einem Raspberry 5 zusammenzufassen.

Es laufen jetzt also der #Mosquitto - #Server, der WMMV #Meshtastic Client mit den #Warnmeldungen für #MV und die regelmäßigen #Datenbank - #Backups für meinen Root Server ( #Mastodon, #Diaspora, #Misskey und vieles mehr) zusammen auf einem Raspberry Pi 5 mit 8 GB RAM und einer #Kingston KC3000 PCIe 4.0 #NVMe M.2 #SSD.

(Bildbeschreibung: Bild 1 - Der Raspberry Pi5. Bild 2 - Zwei HP t510 und ein Raspberry Pi 3.)

danie10@squeet.me

Should you build your own NAS or buy a pre-built?

Rectangular black case with HDMI on the front lower right. In the centre at the front is a blue USB port. In the background are two NAS type devices which are blurred.
An interesting read, and I have to say I do lean more towards building your own. I did buy a bare-bones NAS by D-Link many years ago because you could add your own hard drives, but what I discovered after a few years was there were no more software updates, and it is not easy to upgrade later on either.

Today I’m running a bare-bones Intel NUC box with two external laptop hard drives (powered through USB), and Open Media Vault NAS software on it. I get ongoing software updates and can upgrade RAM and drives etc. That said, its throughput is not that great as the drives are connected via USB cables. It boots from a SATA connected SSD drive. It also has Docker running on it with a few applications hosted in Docker containers, so it is quite versatile.

Knowing what I know now, I would rather have bought something that would allow proper SATA connectors to the hard drives for way better throughput speed.

See xda-developers.com/building-vs…
#Blog, #backups, #NAS, #technology

ao@diasp.eu

Ik herken mij niet in belachelijke bestedingen van Publiek Geld zoals "cyberburgemeesters" en pleit voor het door burgers en bedrijven serieus nemen van het maken van #backups en het installeren van #beveiligingsupdates. Bovendien ben je volgens de officieuze staatsideologie neoliberalisme altijd volledig verantwoordelijk voor je eigen situatie.
https://www.gld.nl/nieuws/8110835/het-moet-afgelopen-zijn-met-cybercrime-actiedag-met-tachtig-deelnemers

danie10@squeet.me

How to turn an old PC into a NAS

Tower PC open on one side exposing its insides
A dedicated NAS may be highly functional but they are often pretty pricey… You often also don’t get a decent resale value on your recently replaced, but perfectly functional, PC.

There are a few reasons that you may want to use an older PC, but the biggest is simply just the act of recycling. If you have a perfectly good PC lying around not doing anything, why would you go out and buy a NAS instead of just putting your old computer to work? Especially because older computers like those are probably going to be more powerful than most NAS devices that you would pick up, it’s really just a no-brainer.

There is also some quite nice 3rd party NAS software to choose from, that also helps make the device quite flexible in terms of functionality.

See https://www.xda-developers.com/how-turn-old-pc-into-nas/
#Blog, #backups, #NAS, #technology

smokeinfog@diasp.org

FBI Seizure of Mastodon Server is a Wakeup Call to Fediverse Users and Hosts to Protect their Users

We’re in an exciting time for users who want to take back control from major platforms like Twitter and Facebook. However, this new environment comes with challenges and risks for user privacy, so we need to get it right and make sure networks like the Fediverse and Bluesky are mindful of past lessons.

Last May, Mastodon server Kolektiva.social was compromised when one of the server’s admins had their home raided by the FBI for unrelated charges. All of their electronics, including a backup of the instance database, were seized.

It’s a chillingly familiar story which should serve as a reminder for the hosts, users, and developers of decentralized platforms: if you care about privacy, you have to do the work to protect it. We have a chance to do better from the start in the fediverse, so let’s take it.

. . .

#Mastodon #Fediverse #data #database #backups #privacy #security #FBI #lawEnforcement #raids #EFF

danie10@squeet.me

How to use Shizuku with Swift Backup to batch restore your Android apps after a factory reset (no root required)

Bild/Foto
Back in the early days of Android, Titanium Backup was considered the go-to backup solution for those with full root access. Its impact on the power user community over the years is undeniable. However, Titanium Backup’s days are numbered because the original developer no longer updates the app.

Swift Backup is the perfect choice for all your backup needs, giving you offline and custom cloud storage options without requiring root access. It relies on the Shizuku service, which uses powerful on-device ADB commands and system APIs to elevate your Android experience. This allows you to have temporary higher-level system privileges without rooting your device, perfect for those who like to tinker with minimal risk. Using Swift Backup after a factory reset can save time, battery, and network data since you don’t have to redownload your apps from the Google Play Store.

ADB backup APIs are deprecated by Google and most apps do not work with the ADB backup method anymore.

One caveat though is that private app data, in /data/data/ or /data/user/*/ that stores your app preferences, login info, databases, etc, still requires root access, and can’t be handled by Shizuku. However, the APK, app external data, and media can be backed up. So, re-authentications may be required, but I suppose it does still save masses of time from not having to re-download each app.

See https://www.androidpolice.com/how-to-use-shizuku-to-restore-your-android-apps/
#Blog, #android, #backups, #shizuku, #SwiftBackup, #technology

danie10@squeet.me

10 Common Backup Mistakes Most People Make – These Are Good Points Worth Considering

A laptop with an SSD drive plugged into a USB port
Backing up your files on your computer, phone, and other devices is a crucial part of modern life, but it’s all too easy to do it wrong—even when you think you’re doing everything right.

This article is well worth a read, even to just tick off what you are doing correctly, and what you maybe need to still address. A little planning goes a long way during a crisis later on.

See https://www.howtogeek.com/894595/common-backup-mistakes-most-people-make/
#Blog, #backups, #technology

danie10@squeet.me

Loadshedding trashed my server’s primary and backup data drives: This is how I recovered them using TestDisk

TestDisk data recovery text screen showing lots of information about the hard drive
What a week! My car is also misfiring on a cylinder, and this morning I discovered both data drives on my home server showed “unallocated partition and filesystem”. This I discovered after plugging them into my desktop computer, and they did not even show up as drives. I managed to see the lack of partition and filesystem when using GParted (partition manager) to view them. This was not good!

The first rule of data recovery though is “Don’t Panic” and also don’t write anything or try formatting the drive. Invariably, the actual data is still on the drive, as usually it is the partition or boot sectors that are damaged in some way.

My home server boots off an SSD drive and has two 4 TB USB drives connected. One USB drive is the primary data and stores the container volume data (the config and working data for the Docker containers that run off the boot drive), and the second USB drive is a daily Rsync of all the data on the primary drive.

So, I made a cup of coffee while my heart rate was returning to normal and thought about the problem. At first, I thought it could be a hack as why would both drives fail together, but the boot drive was all OK and the logs showed nothing. My server does sit behind Cloudflare, a home router firewall, as well as Nginx Proxy Manager, and has Fail2Ban running. So, I began to think this was maybe not the case.

The logs showed fails at around 00:30, and I recalled the grid power came on around 00:10 (this is in South Africa) and may have had some sort of power spike. I thought originally this was unlikely though, as everything runs off a solar inverter, and it should have cleaned anything from the power side. The other computers were all off, but the system has survived hundreds of such power cycles over the last few years without issues at all.

But after neither drive showed any sign of life after being connected to my desktop PC, I found another USB-SATA adaptor which I connected up to one of the drives. I could now hear it spinning, but Gparted showed the unallocated partition and file system message. But this was good, as at least the drives still spun.

So, I tried TestDisk and its job is initially to search for partitions on the drive, which it did find, and then it allowed me to start browsing files. So that was great, as the files did show. What TestDisk then can do (amongst many more functions) was to then rebuild the partition table. After that, the drive appeared in my file manager, and I could view/copy the files. TestDisk may seem intimidating, but it is wizard driven with suggestions and advice, so you just really need to read each screen carefully.

But putting the original USB-SATA adaptor on again, seemed to once again trash the partition table. So, after another recovery, I used the backup USB-SATA adaptor that I still had and could place that drive back in the server, and it was working perfectly on the primary data disk now.

So off to the shop and I had to buy two new drive enclosures (that have the USB-SATA adaptors inside). I fitted the backup drive to one of those enclosures, and it is also now visible. OpenMediaVault was just moaning about the change of drive ID (supposedly because of the different SATA controller) but it settled down, and I could run a fresh backup to the drive.

So, in conclusion, it seems the USB-SATA adaptors were both trashed by probably some form of power issue that struck through the USB ports (although the main SATA SSD drive was fine). So, I’ve dusted off a disused APC UPS out of the cupboard and will rather run that server off that UPS to add some more cushioning for it.

I could consider again running a backup, possibly over the Ethernet network at night, to better separate the storage devices.

TestDisk is OpenSource software and is licensed under the terms of the GNU General Public License (GPL v2+). It is powerful free data recovery software that was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software: certain types of viruses or human error (such as accidentally deleting a Partition Table).

See https://www.cgsecurity.org/wiki/TestDisk
#Blog, #backups, #dataloss, #opensource, #technology, #TestDisk

_steve@pod.thewalkingdeaf.net

(My) Backups, chapter 1

Read blog post here

What follows is mainly an aide-memoire for my future self. However, it may help someone out. Who knows?

Following the (re)birth of my Diaspora❈ pod, I wanted to make sure it was backed up regularly and properly. It lives on an Ubuntu 22.04 Server VM running on VirtualBox1 on my main server (also Ubuntu 22.04 Server).

Linux of course has a rich set of tools for getting the job done, but the philosophy of it is sometimes difficult.

#linux #backups #rsync #blog #mywork

danie10@squeet.me

How to use Shizuku to batch restore your Android apps after a factory reset – No root access needed

Bild/Foto
Back in the early days of Android, Titanium Backup was the go-to backup solution made exclusively for root users. Its impact on the power user community over the years is undeniable; however, Titanium Backup’s days are numbered since it isn’t being maintained. Luckily, there’s a more modern option for those that don’t want to rely solely on the online backups you get from your Google One account. Swift Backup is the perfect choice for your backup needs, giving you both offline and custom cloud storage options without requiring full root access.

So if Google provides online device backups using Google One, why would anyone want to use another option instead? Many users prefer to have more choice over how they back up and restore their devices. Also, when restoring your apps using a Google One backup, you’ll have to redownload them from the Play Store since it only keeps a list of which ones were installed. Using Swift Backup as your recovery option after a factory reset can save time, battery, and network data since you won’t have to download them from scratch.

See https://www.androidpolice.com/how-to-use-shizuku-to-restore-your-android-apps/

#technology #android #backups #shizuku
#Blog, ##android, ##backup, ##shizuku, ##technology

danie10@squeet.me

I solemnly swear to backup my important stuff on World Backup Day, March 31st. Take the pledge!

Bild/Foto
It is really worth taking a bit of time to configure backups and there are a few options:
- If you have a second drive, then configure SyncThing, LuckyBackup or whatever to just do a scheduled copy daily to the second drive. Most often, problems are caused by failing or damaged hard drives.
- If you have a free NAS setup at hope, sync to that.
- Or try to find a free cloud backup service that offers enough space for your critical files. It should be encrypted though for personal info.
- Sometimes you can use iCloud, GDrive or Dropbox, but make sure it is syncing automatically.

See https://www.worldbackupday.com/category/uncategorized/feed

#technology #WorldBackupDay #backups #data
#Blog, ##backups, ##data, ##technology, ##worldbackupday

canoodle@nerdpol.ch

BE CAREFUL WITH find + delete - find . -delete -name vs find . -name -delete

one neat function of find, it that what it found can be passed to another function for further processing.

or: it can delete the file

BUT

this can go horribly wrong (and it does not ask for confirmation)

… deleting EVERYTHING in the current directory within the blink of an eye (depending on systems speed… terrabytes of data within seconds).

# warning! this can ruin one's day

<span style="color: #00ffff;">mkdir temp
cd temp
touch 1 2 3 f25020672.avi</span>

# only finds that file
<span style="color: #00ffff;">find . -name "*f25020672.avi*"
./f25020672.avi</span>

<span style="color: #ff0000;"># DANGER! THIS DELETES ALL FILES IN THE CURRENT DIRECTORY! NOT ONLY THE FILE BEHIND -name</span>
<span style="color: #00ffff;">find . -delete -name "*f25020672.avi*"</span>

# this would have been the correct way to do it
<span style="color: #00ffff;">find . -name "*f25020672.avi*" -delete
</span>

guess will have to powerdown, and continue when the backup-system of the backup-system is ready X-D

#linux #gnu #gnulinux #opensource #administration #sysops #accidental #delete #ext4 #trump #gnu-linux #the-internet #internet #lol #argh #fail #backups

Originally posted at: https://dwaves.de/2021/12/20/be-careful-with-find-delete-find-delete-name-vs-find-name-delete/

danie10@squeet.me

Open-Source Nextcloud Announces a New Backup Application for Its Home Users: Ability to backup to a friend or family member, while preserving privacy through encryption

Germany-based Nextcloud is releasing an easy-to-use backup application for its productivity and collaboration platform that’s designed not for the big enterprise customers who pay its bills, but for home users and small business who generally use the product for free.

Beside being focused on users who typically aren’t customers, there’s another big oddity to Nextcloud’s new Backup app: users can select a Nextcloud instance being run by a friend or family member as a backup location, even if that other instance doesn’t have the Backup app installed. Also, if that friend or family member turns out not to be as trustworthy as the user thought, the backup will still be secure; only the person initiating the backup has the encryption key.

According to Nextcloud, although more conventional backup locations are also available — such as a directory on the user’s hard drive or USB drive, FTP, samba, or any external storage supported by Nextcloud.

See Nextcloud Announces a New Backup Application for Its Home Users - FOSS Force

#technology #opensource #nextcloud #backups

Imagem/foto

The enterprise focused FOSS cloud platform has released a beta version of a Nextcloud backup app that's designed specifically for home users.


https://gadgeteer.co.za/open-source-nextcloud-announces-new-backup-application-its-home-users-ability-backup-friend-or

danie10@squeet.me

Some good Backup Tools to consider on Linux

Timeshift is intended more for system snapshots, and Clonezilla more for whole disk imaging, but the others are all for general data backup. They don't cover LuckyBackup, which is almost identical to Grsync, and it's worth noting that LuckyBackup has a built-in cron option to schedule the backups. Personally, I'm using LuckyBackup and Timeshift.

UrBackup could be useful to help manage multiple Linux, Windows, etc machines all backing up to centralised storage.

See Which local Backup Tool is the best on Linux? – VITUX

#technology #opensource #linux #backups

Image/photo

There are several backup utilities available for Linux. Some of them are based on bash scripts and others are properly crafted open-source software. The problem comes when nothing is available in a default installation. I am a Debian user and I have some preferences to use certain backup utilities to keep my data safe. In this guide, I will help...


https://gadgeteer.co.za/some-good-backup-tools-consider-linux

danie10@squeet.me

Clonezilla - open source software for disk cloning and imaging

This is an interesting video to watch how you can use Clonezilla to boot up your computer and make a full image copy of any hard drive. That image can be used to fully restore the bootable drive. It will not only backup the drive to another local drive (as an image file inside a directory), but even via SSH or a Windows share on the network.

A feature I was quite intrigued by, was the ability to create a self booting backup image, where it includes the Clonezilla boot files into the destination image. In other words, you could flash that backed up image to another external drive, and actually boot it and start a restore. I however did not see that option when I created my backup so maybe the options have changed. My 128 GB SSD though only took a few minutes to backup, which was quite impressive.

Watch at Cloning/Imaging Hard Disks with Clonezilla Live

#technology #opensource #clonezilla #backups

Image/photo

Clonezilla Live is a fantastic tool for cloning hard disks for backup or redeployment. In this video, I show off the process of taking an image of a Windows ...


https://gadgeteer.co.za/clonezilla-open-source-software-disk-cloning-and-imaging