Information Technology Grimoire

Version .0.0.1

IT Notes from various projects because I forget, and hopefully they help you too.

backups

verify disk space

df -h

snapshots

> show snapshots
> show snapthos some_name size
> add snapshot some_YYYY_MM_DD desc "some thing"
> delete snapshot some_YYYY_MM_DD

Wait for completion

watch "clish -c 'show snapshots'"

Export it

set snapshot export somename path /var/log/precreatedpath/

snapshots GUI

maintenance > snapshot mgmt > Export

Restore

webui > Maintenance > Snapshot management > choose > revert

auto backups

> set user admin shell /bin/bash
> save config
> add backup local interactive
> show backup last-successful | logs | status
> show backups

Location

/var/log/CPbackup/backups

scheduled ftp

add backup-scheduled name "backup_gui" ftp ip 1.2.3.4 path /remote/location username 'ftp-user' password 12345
add backup-scheduled name backup_gui recorrence daily time 02:00