02-04-2015, 10:00 PM
02-05-2015, 02:30 AM
It could be done externally - download the world from the Gallery server to another machine and then run the Overviewer.
02-05-2015, 03:07 AM
The overviewer only rebuilds the new chunks. Only the first run would be intensive. And compiling the overviewer on the PI B+ only took a couple of minutes.
Can the gallery server serve http?
On the same note, is there a way to browse and download the schematics?
Can the gallery server serve http?
On the same note, is there a way to browse and download the schematics?
02-05-2015, 05:43 AM
The entire world is being backed up here daily: http://mc-server.xoft.cz/GalleryBackup/
The same backup script could, theoretically, run the overviewer directly on the webhosting server.
The same backup script could, theoretically, run the overviewer directly on the webhosting server.
02-05-2015, 06:21 AM
(02-05-2015, 05:43 AM)xoft Wrote: [ -> ]The entire world is being backed up here daily: http://mc-server.xoft.cz/GalleryBackup/
The same backup script could, theoretically, run the overviewer directly on the webhosting server.
I'll do it and host it, but to make my life easier ... can there be a top level 'latest.7z' that I could grab daily?
02-05-2015, 06:30 AM
If you can help me set it up, no problem.
I'm currently using a script containing the following line, that is run from cron on the Gallery server:
I suppose it's possible to add another command that would copy the packed file over the latest.7z file.
I'm currently using a script containing the following line, that is run from cron on the Gallery server:
Code:
ssh -i $remoteKeyFile -p $remotePort $remoteUser@$remoteHost "mkdir -p $remotePath/$targetFolderFormat" && scp -rp -i $remoteKeyFile -P $remotePort $packedFileName $remoteUser@$remoteHost:$remotePath/$targetFolderFormat
02-05-2015, 08:01 AM
(02-05-2015, 06:30 AM)xoft Wrote: [ -> ]If you can help me set it up, no problem.
I'm currently using a script containing the following line, that is run from cron on the Gallery server:
I suppose it's possible to add another command that would copy the packed file over the latest.7z file.Code:ssh -i $remoteKeyFile -p $remotePort $remoteUser@$remoteHost "mkdir -p $remotePath/$targetFolderFormat" && scp -rp -i $remoteKeyFile -P $remotePort $packedFileName $remoteUser@$remoteHost:$remotePath/$targetFolderFormat
You should only have to copy it one more time.
What is the $remotePath value?
Code:
ssh -i $remoteKeyFile -p $remotePort $remoteUser@$remoteHost "mkdir -p $remotePath/$targetFolderFormat"
&&
scp -rp -i $remoteKeyFile -P $remotePort $packedFileName $remoteUser@$remoteHost:$remotePath/$targetFolderFormat
&&
scp -rp -i $remoteKeyFile -P $remotePort $packedFileName $remoteUser@$remoteHost:$remotePath/latest.7z
02-05-2015, 08:17 AM
I don't want to copy it using scp, that means a needless extra transfer. A local copy on the remote machine should be much better.
This makes the per-month folders.
Code:
targetFolderFormat=$(date +"%Y-%m")
02-05-2015, 08:33 AM
(02-05-2015, 08:17 AM)xoft Wrote: [ -> ]I don't want to copy it using scp, that means a needless extra transfer. A local copy on the remote machine should be much better.
This makes the per-month folders.Code:targetFolderFormat=$(date +"%Y-%m")
then
Code:
ssh -i $remoteKeyFile -p $remotePort $remoteUser@$remoteHost "cp $remotePath/$targetFolderFormat/$packedFileName $remotePath/latest.7z"
02-05-2015, 03:57 PM
Or create a symlink.
Code:
ln -s $remotePath/$targetFolderFormat/$packedFileName $remotePath/latest.7z