purpose and application
Use this for backing up your netbox instance. This is specific to my setup YMMV.
definitions
- YMMV - Your Mileage May Vary
steps
- Become netbox user
su -s /bin/ksh -l _netbox
- Backup the database
pg_dump -W postgres://netbox@127.0.0.1:5432/netbox | gzip > …