I’m wanting to make a bootstrap of db. Which files do I need? 3 I believe.
Are you trying to backup a bootstrap for syrius or a node? if syrius, windows or mac?
1 Like
macOS Users
- Close Syrius.
- Open Finder.
- Press
⌘ + shift + H
to go directly to your Home folder. - Now press
⌘ + shift + period (.)
to make the hidden Library folder visible. - Navigate to the
Library/znn
folder. - Once you’re inside the folder, copy these directories: nom, consensus, and network.
- Launch Syrius.
Windows Users
- Close Syrius
- Open the Windows Explorer and navigate to the following path:
C:\Users\<username>\AppData\Roaming\znn
Note: Replace<username>
with your actual Windows username. - Inside this directory, you should see several folders. Copy these specific directories: nom, consensus, and network.
- Launch Syrius. The application should start the re-syncing process from scratch.
1 Like
This would be for a Linux node
sudo -i
systemctl stop go-zenon
cd ~/.znn
cp -r nom/ nom.bak
cp -r consensus/ consensus.bak
cp -r network/ network.bak
systemctl start go-zenon
1 Like
here is a script I wrote if you want to backup to digitalocean
1 Like