Skip to content

weakish/0net-snapshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sh scripts to take snapshots of ZeroNet sites via git.

Install

With make

git clone https://github.com/weakish/0net-snapshot.git
cd 0net-snapshot
make

Makefile is compatible with Gnu Make and BSD Make.

With basher

basher install weakish/0net-snapshot

Usage

0mesnap

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.

0netsnap

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/0netsnap

License

0BSD

About

sh scripts to take snapshots of ZeroNet sites

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages