littleshop/Hostinger/BTCPAY_BACKUP_README.md
SysAdmin e1b377a042 Initial commit of LittleShop project (excluding large archives)
- BTCPay Server integration
- TeleBot Telegram bot
- Review system
- Admin area
- Docker deployment configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-17 15:07:38 +01:00

99 lines
2.6 KiB
Markdown

# BTCPay Server Complete Backup
**Created: September 16, 2025**
## Backup Contents
### File: `btcpay-backup-20250916.tar.gz` (615KB)
This archive contains:
1. **Configuration Files**
- `/opt/.env` - Environment variables
- `Generated/` - Docker compose generated files
- `docker-compose.override.yml` - Custom overrides
- BTCPay scripts (*.sh files)
2. **Monero Wallet Data**
- Wallet address: `49TnBo2VHbncxvrMFbX5uMS9mtAGkiG1L4N6i7MMz4MhA9AXfyRqBdmf1XrFtGXq2v2G72TNtiVFo2kot5SHnBBz3gwoMj9`
- Wallet files and keys
- Password: `password` (simple password for RPC)
3. **Database**
- Complete PostgreSQL dump of BTCPay database
- Includes stores, users, invoices, settings
4. **Tor Configuration**
- Onion addresses for BTCPay and Bitcoin
## Server Configuration
- **Host**: thebankofdebbie.giize.com (srv1002428.hstgr.cloud)
- **Network**: Mainnet
- **BTCPay Version**: 2.2.1
- **Cryptocurrencies**: BTC (with pruning), XMR
- **NO DOGECOIN**: Successfully removed
## How to Restore
### On a fresh Debian/Ubuntu server:
1. **Copy backup to server:**
```bash
scp btcpay-backup-20250916.tar.gz root@newserver:/root/
```
2. **Extract backup:**
```bash
cd /root
tar -xzf btcpay-backup-20250916.tar.gz
cd btcpay-backup-20250916-1614
```
3. **Restore configurations:**
```bash
# Copy environment file
cp env-file /opt/.env
# Install BTCPay
git clone https://github.com/btcpayserver/btcpayserver-docker /opt/btcpayserver-docker
cd /opt/btcpayserver-docker
# Copy configurations
cp -r ~/btcpay-backup-*/Generated ./
cp ~/btcpay-backup-*/docker-compose.override.yml ./
# Run setup
. ./btcpay-setup.sh -i
```
4. **Restore database:**
```bash
docker exec -i generated_postgres_1 psql -U postgres < ~/btcpay-backup-*/postgres-backup.sql
```
5. **Restore Monero wallet:**
```bash
docker cp ~/btcpay-backup-*/monero-wallet/. btcpayserver_monero_wallet:/wallet/
docker restart btcpayserver_monero_wallet
```
## Important Security Notes
⚠️ **KEEP THIS BACKUP SECURE!**
- Contains wallet private keys
- Contains database with transaction history
- Contains Tor private keys
## Current System Status
- ✅ Bitcoin: 99.7% synced, pruning active (25GB)
- ✅ Monero: Wallet configured and running
- ✅ SSL: Valid Let's Encrypt certificate
- ✅ Tor: Fully operational
- ✅ DOGE: Completely removed (0 traces)
## Access Information
- URL: https://thebankofdebbie.giize.com
- SSH: Port 2255 with key authentication
- Network: 10 containers running smoothly
---
**Backup created by BTCPay fix session - September 16, 2025**