View Issue Details

IDProjectCategoryView StatusLast Update
0000280My infrastructureGeneralpublic2025-04-16 12:03
Reporterdvl Assigned Todvl  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0000280: x8dtu-pg01 - not backing up via rsyncer
DescriptionI'll bet ssh access is not granted by pf.conf on that host.
TagsNo tags attached.

Activities

dvl

2025-04-14 11:34

manager   ~0000372

Created crontab for rsyncer:

# use /bin/sh to run commands, overriding the default set by cron
SHELL=/bin/sh
# mail any output to `dan', no matter whose crontab this is
MAILTO=dan@langille.org
 
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:$HOME/bin; export PATH
 
2      2       *       *       *       ~/bin/backup.sh > ${HOME}/logs/backup.log

dvl

2025-04-14 11:39

manager   ~0000373

Added permissions:

[11:34 x8dtu-pg01 dvl ~] % sudo su -l postgres
$ psql postgres
psql (16.8)
Type "help" for help.

postgres=# grant select on all tables    in schema pg_catalog to rsyncer;
grant select on all sequences in schema pg_catalog to rsyncer;
GRANT
GRANT
postgres=# grant select on pg_authid to rsyncer;
GRANT
postgres=# \c freshports.org
You are now connected to database "freshports.org" as user "postgres".
freshports.org=# grant select on all tables    in schema public to rsyncer;
grant select on all sequences in schema public to rsyncer;
GRANT
GRANT
freshports.org=# 

dvl

2025-04-14 12:02

manager   ~0000374

Current problem: x8dtu-pg01 cannot contact dblone.

idea: look at aws-1-ingress01 for comparison

dvl

2025-04-16 12:03

manager   ~0000375

Last edited: 2025-04-16 12:03

Let's conform.

aws-1: this is done on the main host, not the jail

The hosts have access to dbclone; the jails do not.

Issue History

Date Modified Username Field Change
2025-02-26 19:30 dvl New Issue
2025-02-26 19:30 dvl Status new => assigned
2025-02-26 19:30 dvl Assigned To => dvl
2025-04-14 11:34 dvl Note Added: 0000372
2025-04-14 11:39 dvl Note Added: 0000373
2025-04-14 12:02 dvl Note Added: 0000374
2025-04-16 12:03 dvl Note Added: 0000375
2025-04-16 12:03 dvl Note Edited: 0000375