sh scripts to take snapshots of ZeroNet sites via git.
git clone https://github.com/weakish/0net-snapshot.git
cd 0net-snapshot
make
Makefile is compatible with Gnu Make and BSD Make.
basher install weakish/0net-snapshot
I wrote this script to backup ZeroMe hubs. But it can be used to backup an arbitraril list of ZeroNet sites.
Specify zeronet data directory in $ZERONETDATADIR environment variable.
Make sure there is hub_seeding.lst file in $ZERONETDATADIR.
hub_seeding.lst is a list of ZeroNet site addresses,
one address/ID per line.
0mesnap
You can edit a crontab to take a snapshot, say, per hour:
@hourly /usr/local/bin/0mesnap$ZERONETDATADIR is also the root directory of the git repository.
Similar to 0mesnap. Unlike 0mesnap (track hubs in one repository), 0netsnap uses a separate git repository per zeronet site, i.e. the zeronet site directory will be the root directory of the git repository.
Specify zeronet data directory in $ZERONETDATADIR environment variable.
Make sure there is tracking_zite.lst file in $ZERONETDATADIR.
tracking_zite.lst is a list of ZeroNet site addresses,
one address/ID per line.
0netsnap
You can edit a crontab to take a snapshot, say, per hour:
@hourly /usr/local/bin/0netsnap0BSD