Technical
Jump to navigation
Jump to search
Please note that ICA-AtoM is no longer actively supported by Artefactual Systems.
Visit https://www.accesstomemory.org for information about AtoM, the currently supported version.
LDAP
To create LDAP users, login to phpLDAPadmin with DN cn=admin,dc=artefactual,dc=com
- Double check user id attribute is not 1000
- Check username and home directory match.
SQL Backup
- ssh to amos.artefactual.com (use -X to forward X clients)
- Become `administrator` user: `sudo -u administrator bash` (backups are done as the administrator user, which is a local vs. an LDAP user)
- Try ssh to the server being backed up: `ssh icaatom@ica-atom.org`
- If the server requires a password, append the administrator user's ssh public key to the server's `authorized_keys` file:
ssh icaatom@ica-atom.org cat \>\> .ssh/authorized_keys < /home/administrator/.ssh/id_dsa.pub
- Change directory to `/home/administrator/src`: `cd /home/administrator/src`
- Edit the `site5-backup` script: `gvim site5-backup` or `emacs site5-backup`
- Add new line with:
- Server username
- Server address
- Database username
- Database password
- Database name
- Destination file