Labels

Android (1) bash (2) boost (2) C (34) C++ (2) cheatsheet (2) CLion (6) css (3) Debian (33) DL (17) Docker (2) Dreamweaver (2) Eclipse (3) fail2ban (4) git (5) GitHub (4) Hacking (3) html (8) http (1) iOS (1) iPad (1) IRC (1) Java (31) javascript (3) Linux (167) Mac (19) Machine Learning (1) mySQL (48) Netbeans (4) Networking (1) Nexus (1) OpenVMS (6) Oracle (1) Pandas (3) php (16) Postgresql (8) Python (9) raid (1) RedHat (14) Samba (2) Slackware (47) SQL (14) svn (1) tar (1) ThinkPad (1) Virtualbox (3) Visual Basic (1) Visual Studio (1) Windows (2)

Tuesday, 15 September 2020

DL - Backup procedures.

Unverified


GENERAL

Process Control IP - 23.128.30.24

Liberty IP - 192.168.8.2:5001


mount 23.128.30.24:/volume1/BACKUP/XXX-X /media/nas
mysqldump -uroot -pxxxxxxxx --all-databases > /nas/XXX-X.mysql.all
 
gzip /nas/XXX-X.mysql.all
 
fsarchiver -o -A savefs /nas/XXX-X.sda1.fsa /dev/sda1
fsarchiver -o -A savefs /nas/XXX-X.sda5.fsa /dev/sda5
fsarchiver -o -A savefs /nas/XXX-X.sda6.fsa /dev/sda6
fsarchiver -o -A savefs /nas/XXX-X.sda7.fsa /dev/sda7
fsarchiver -o -A savefs /nas/XXX-X.sda8.fsa /dev/sda8
 
fdisk -l > /nas/XXX-X.fdisk.list
df   > /nas/XXX-X.df.list
dpkg -l > /nas/XXX-X.dpkg.list
dpkg --get-selections > /nas/XXX-X-package-selection

 




 

MCC-A



mount 23.128.30.24:/volume1/BACKUP/mcc-a /nas
 
mysqldump -uroot -pxxxxxxxx --all-databases > /nas/mcc-a.mysql.all
 
gzip /nas/mcc-a.mysql.all
 
fsarchiver -o -A savefs /nas/mcca.sda1.fsa /dev/sda1
fsarchiver -o -A savefs /nas/mcca.sda5.fsa /dev/sda5
fsarchiver -o -A savefs /nas/mcca.sda6.fsa /dev/sda6
fsarchiver -o -A savefs /nas/mcca.sda7.fsa /dev/sda7
fsarchiver -o -A savefs /nas/mcca.sda8.fsa /dev/sda8
 
fdisk -l > /nas/mcca.fdisk.list
df   > /nas/mcca.df.list
dpkg -l > /nas/mcca.dpkg.list
dpkg --get-selections > /nas/mcca-package-selection


 

MCC-B



mount 23.128.30.24:/volume1/BACKUP/mcc-b /nas
 
mysqldump -uroot -pxxxxxxxx --all-databases > /nas/mcc-b.mysql.all
 
gzip /nas/mcc-b.mysql.all
 
fsarchiver -o -A savefs /nas/mccb.sda1.fsa /dev/sda1
fsarchiver -o -A savefs /nas/mccb.sda5.fsa /dev/sda5
fsarchiver -o -A savefs /nas/mccb.sda6.fsa /dev/sda6
fsarchiver -o -A savefs /nas/mccb.sda7.fsa /dev/sda7
fsarchiver -o -A savefs /nas/mccb.sda8.fsa /dev/sda8
 
fdisk -l > /nas/mccb.fdisk.list
df > /nas/mccb.df.list
dpkg -l > /nas/mccb.dpkg.list
dpkg --get-selections > /nas/mccb-package-selection



ARC-A



mount 23.128.30.24:/volume1/BACKUP/arc-a /nas
mysqldump -uroot -pxxxxxxxx --all-databases > /nas/arc-a.mysql.all
fsarchiver -o -A -a savefs /nas/arca.c0d0p1.fsa /dev/cciss/c0d0p1
fsarchiver -o -A -a savefs /nas/arca.c0d0p2.fsa /dev/cciss/c0d0p2
fsarchiver -o -A -a savefs /nas/arca.c0d0p4.fsa /dev/cciss/c0d0p4
fsarchiver -o -A -a savefs /nas/arca.c0d0p5.fsa /dev/cciss/c0d0p5
fsarchiver -o -A -a savefs /nas/arca.c0d0p6.fsa /dev/cciss/c0d0p6
fsarchiver -o -A -a savefs /nas/arca.c0d0p7.fsa /dev/cciss/c0d0p7
fdisk -l > /nas/arca.fdisk.list
df > /nas/arca.df.list


 

ARC-B



mount 23.128.30.24:/volume1/BACKUP/arc-b /nas
fdisk -l > /nas/arcb.fdisk.list
df > /nas/arcb.df.list
mysqldump -uroot -pxxxxxxxx --all-databases > /nas/arc-b.mysql.all
fsarchiver -o -A -a savefs /nas/arcb.c0d0p1.fsa /dev/cciss/c0d0p1
fsarchiver -o -A -a savefs /nas/arcb.c0d0p2.fsa /dev/cciss/c0d0p2
fsarchiver -o -A -a savefs /nas/arcb.c0d0p4.fsa /dev/cciss/c0d0p4
fsarchiver -o -A -a savefs /nas/arcb.c0d0p5.fsa /dev/cciss/c0d0p5
fsarchiver -o -A -a savefs /nas/arcb.c0d0p6.fsa /dev/cciss/c0d0p6
fsarchiver -o -A -a savefs /nas/arcb.c0d0p7.fsa /dev/cciss/c0d0p7


FCC-A



mount 23.128.30.24:/volume1/BACKUP/fcc-a /nas
mysqldump -uroot -pxxxxxxxx --all-databases > /nas/fcc-a.mysql.all
gzip /nas/fcc-a.mysql.all
fsarchiver -o -A -a savefs /nas/fcca.c0d0p1.fsa /dev/cciss/c0d0p1
fsarchiver -o -A -a savefs /nas/fcca.c0d0p5.fsa /dev/cciss/c0d0p5
fsarchiver -o -A -a savefs /nas/fcca.c0d0p6.fsa /dev/cciss/c0d0p6
fsarchiver -o -A -a savefs /nas/fcca.c0d0p7.fsa /dev/cciss/c0d0p7
fsarchiver -o -A -a savefs /nas/fcca.c0d0p8.fsa /dev/cciss/c0d0p8
fdisk -l > /nas/fcca.fdisk.list
dpkg -l > /nas/fcca.dpkg.list
df > /nas/fcca.df.list
tar cvfz /nas/fcca.dl.tar.gz dl
tar cvfz /nas/fcca.furn.tar.gz furn
tar cvfz /nas/fcca.etc.tar.gz etc
tar cvfz /nas/fcca.www.tar.gz var/www

 

FEC-A



mount 23.128.30.24:/volume1/BACKUP /nas
mysqldump -uroot -pxxxxxxxx --all-databases > /nas/fec-a.mysql.all
fsarchiver -o -A savefs /nas/feca.c0d0p1.fsa /dev/cciss/c0d0p1
fsarchiver -o -A savefs /nas/feca.c0d0p5.fsa /dev/cciss/c0d0p5
fsarchiver -o -A savefs /nas/feca.c0d0p6.fsa /dev/cciss/c0d0p6
fsarchiver -o -A savefs /nas/feca.c0d0p7.fsa /dev/cciss/c0d0p7
fsarchiver -o -A savefs /nas/feca.c0d0p8.fsa /dev/cciss/c0d0p8
fdisk -l > /nas/feca.fdisk.list
df > /nas/feca.df.list

 

COLD LEVELLER



mount 23.128.30.24:/volume1/BACKUP/coldlev /nas
mysqldump -uroot -pxxxxxxxx --all-databases > /nas/coldlev.mysql.all
fdisk -l > /nas/coldlev.fdisk.list
df > /nas/coldlev.df.list
fsarchiver -o -A -a savefs /nas/coldlev.sda1.fsa /dev/sda1
fsarchiver -o -A -a savefs /nas/coldlev.sda5.fsa /dev/sda5
fsarchiver -o -A -a savefs /nas/coldlev.sda6.fsa /dev/sda6
fsarchiver -o -A -a savefs /nas/coldlev.sda8.fsa /dev/sda8
fsarchiver -o -A -a savefs /nas/coldlev.sda9.fsa /dev/sda9

 

CLYD-A



mount 10.12.39.24:/volume1/BACKUP/clmcc-a /nas
mysqldump -uroot -pxxxxxxxx --all-databases > /nas/clmcc-a.mysql.all
fsarchiver -o -A -a savefs /nas/clmcca.c0d0p1.fsa /dev/sda1
fsarchiver -o -A -a savefs /nas/clmcca.c0d0p6.fsa /dev/sda6
fsarchiver -o -A -a savefs /nas/clmcca.c0d0p7.fsa /dev/sda7
fdisk -l > /nas/clmcca.fdisk.list
dpkg -l > /nas/fcca.dpkg.list
df > /nas/fcca.df.list
tar cvfz /nas/fcca.dl.tar.gz dl
tar cvfz /nas/fcca.furn.tar.gz furn
tar cvfz /nas/fcca.etc.tar.gz etc
tar cvfz /nas/fcca.www.tar.gz var/www

No comments:

Post a Comment

Note: only a member of this blog may post a comment.