Skip to content
Home » backup

backup

Visit Tacticalware.com for information related to this tag and others. We look forward to assisting in your tech projects with our in-depth knowledgebase…

HOW TO SECURE YOUR TOR ONION KEYS

This is a quick guide on how to secure your Tor Onionsite from someone intercepting the keys and hijacking your domain.

Open a terminal and Type

sudo su –

Only hs_ed25519_secret_key is required for TOR to work

Copy other keys to a backup location

Do do this type:
mkdir /backup
mkdir /backup/current-tor-keys
cd /var/lib/tor/hidden_service/
cp -R ./* /backup/current-tor-keys/
rm hs_ed25519_public_key
sudo chown -R debian-tor: /var/lib/tor/hidden_service
sudo chmod -R u+rwX,og-rwx /var/lib/tor/hidden_service

Now use WinSCP and copy the keys off the server to a safe location and delete them from your /backup directory

GODADDY – BACKUP DNS ZONE

Here is how to backup your DNS information in GoDaddy

Login into your account

Navigate to https://dcc.godaddy.com/control/portfolio

Identify the Domain name you want to backup

Click the three dots next to it “

Select Edit DNS

On the DNS MANAGEMENT page, next to the ADD button, click the Three Dots “

Select Export Zone File

Your DNS will backup to your computer.

Save it to somewhere special, and go on your merry way

Raspberry Pi Backup using MAC

RASPBERRY PI – Backup Your Raspberry Pi SD Card Using a MAC

 

This is a quick how to on backing up your Raspberry Pi SD Card

Shutdown the Raspberry Pi and remove the SD Card

Plug the SD Card into your MAC

Go to Spotlight (the little magnifying glass on the top right of your MAC), type Terminal, and press Enter

Now the rest of the commands are done in the Terminal

Type:
sudo bash and press enter

Type in your password to get the # prompt

Type:
mkdir /raspberry-pi and press enter
mkdir /raspberry-pi/backups and press enter
cd /raspberry-pi/backups and press enter

Type
df -h and look for your SD Card. My card is listed as /dev/disk1s1. Once you know which card is your SD Card type

diskutil unmount /dev/disk1s1 (or whatever your SD Card is listed as)

dd if=/dev/rdisk1 of=/raspberry-pi/backups/wheezy-todaysdate-backup.img bs=1m and press enter

your SD Card will now be backed up

Once the backup is complete type:
diskutil eject /dev/rdisk1

And that is it.



Thanks for reading

Hardware that I used:
Raspberry Pi 4 (4gb)
https://amzn.to/3q551IO

SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter
https://amzn.to/2Vfvo0y

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)
https://amzn.to/3fNTYPu

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet
https://amzn.to/33u5hr9

Western Digital 500GB WD_Black SN750 NVMe
https://amzn.to/3nZ5pH4

Plugable USB C to M.2 NVMe Tool-free Enclosure
https://amzn.to/3lflV3L

Restoring a Raspberry Pi Backup

This is a quick how to on restoring a backed up image to your SD Card Plug the SD Card into your MAC Go to Spotlight (the little magnifying glass on the top right of your MAC), type Terminal, and press Enter Now the rest of the commands are done in the Terminal Type: sudo bash and press enter Type in your password to get the # prompt Type: cd /raspberry-pi/backups and press enter Type df -h and look for your SD Card. My card is listed as /dev/disk1s1. Once you know which card is your SD Card type diskutil unmount /dev/disk1s1 (or whatever your SD Card is listed as) dd bs=1m if=/raspberry-pi/backups/wheezy-todaysdate-backup.img of=/dev/rdisk1 and press enter your SD Card will now be restore the backup Once the backup is complete type: diskutil eject /dev/rdisk1 And that is it. Thanks for reading Hardware that I use: Raspberry Pi 4 (4gb) https://amzn.to/3q551IO SanDisk 32GB Ultra microSDHC UHS-I Memory Card with Adapter https://amzn.to/2Vfvo0y CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C) https://amzn.to/3fNTYPu CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet https://amzn.to/33u5hr9 Western Digital 500GB WD_Black SN750 NVMe https://amzn.to/3nZ5pH4 Plugable USB C to M.2 NVMe Tool-free Enclosure https://amzn.to/3lflV3L