• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

Backup Mod [V1.1]

translation.
excuse me.
I put it on the server
It doesn't seem to work.
what am i doing wrong
Please teach me.

IMG_2035.jpg

IMG_2036.jpg

 
what am i doing wrong
Please teach me.
1. you should check for releases and download these, if the author created/offer these before you download the master.

Look at the right side, Releases   v1.1.7. and download BackupMod.zip the next time

The master sometimes is just a work directory and sometimes don't work as mod.

But at BackupMod it should work.

2.When you unpack and copy the content of a mod archive, you should look what is inside.

You prolly have inside the backup-master another folder BackupMod.

Move BackupMod to Mods and delete BackupMod-master.

 
Last edited by a moderator:
Canute! Thank you very much!
It seems the version is old.
[BackupModDemonstrationScreenV1.1.2]

and v1.1.7. I tried
Under the name of the attached map
A compressed backup file has been created!
/home/sdtd/.local/share/7DaysToDie/Backups/PREGEN10k/My Games
(After . is a hidden file)

Even if you delete all backup compressed files
A new backup compressed file has been generated!

---
The sentences may be strange due to translation.
excuse me.
---
Canute様、ありがとうございます!
うん。バージョンが古かったみたい。
[BackupModDemonstrationScreenV1.1.2]

そして v1.1.7。をやってみた。
付けてるマップの名前下に
バックアップの圧縮ファイルが作成されました!
/home/sdtd/.local/share/7DaysToDie/Backups/PREGEN10k/My Game
(.以降は隠しファイル)

なおバックアップ圧縮ファイル全部を消しても
新しいバックアップ圧縮ファイルが生成されました!
 

1. マスターをダウンロードする前に、作成者がこれらを作成/提供している場合は、リリースを確認してダウンロードする必要があります。

右側を見てください、リリース v1.1.7。次回はBackupMod.zipをダウンロードします

master は単なる作業ディレクトリである場合もあれば、mod として機能しない場合もあります。

しかし、BackupMod では動作するはずです。

2. mod アーカイブのコンテンツを解凍してコピーするときは、中身を確認する必要があります。

おそらく、バックアップ マスター内に別のフォルダー BackupMod があります。

BackupMod を Mods に移動し、BackupMod-master を削除します。


IMG_2040.jpg

 
I think I encountered a bug in the latest Release (1.1.7). Before launching the game, I edited the settings.json file and changed the value of AutoBackup:Enabled to false, but autobackups still occur.

Code:
{
  "General": {
    // Backups limit
    // Default: 10
    "BackupsLimit": 10,
    
    // Custom backups folder path
    // IMPORTANT: You must escape all '\' characters or use '/'
    // Example: "C:\\7DaysToDie\\Backups"
    // Default: ""
    "CustomBackupsFolder": ""
  },
  
  "AutoBackup": {
    // Is automatic backup enabled
    // Default: true
    "Enabled": false,
    
    // Auto backup delay (seconds)
    // Default: 1200 (20 minutes)
    "Delay": 1200,

    // Skip the next scheduled backup, if there are no players on the server
    // Default: false
    "SkipIfThereAreNoPlayers": false
  },
  
  "Archive": {
    // Keep the last backup of the day
    // Default: false
    "Enabled": false,

    // Backups limit
    // Default: 10
    "BackupsLimit": 10,
    
    // Custom archive folder path.
    // IMPORTANT: You must escape all '\' characters or use '/'
    // Example: "C:\\7DaysToDie\\Archive".
    // Default: ""
    "CustomArchiveFolder": ""
  },
  
  "Events": {
    // Backup when world loaded
    // Default: true
    "BackupOnWorldLoaded": true,

    // Backup when the last player on the server disconnected
    // Default: false
    "BackupOnServerIsEmpty": false
  },
  
  "Utilities": {
    // Chat notifications
    // Default: true
    "ChatNotificationsEnabled": true
  }
}

 
automatic backup
I would like to know the string to stop it.

during the program
    // Default: true
the same as
  //do not do: abc
like.

Because the creation language is not the native language,
I just don't understand w

最新のリリース (1.1.7) でバグに遭遇したと思います。ゲームを起動する前に、settings.json ファイルを編集し、AutoBackup:Enabled の値を false に変更しましたが、自動バックアップは引き続き発生します。

Code:
{
  "General": {
    // Backups limit
    // Default: 10
    "BackupsLimit": 10,
    
    // Custom backups folder path
    // IMPORTANT: You must escape all '\' characters or use '/'
    // Example: "C:\\7DaysToDie\\Backups"
    // Default: ""
    "CustomBackupsFolder": ""
  },
  
  "AutoBackup": {
    // Is automatic backup enabled
    // Default: true
    "Enabled": false,
    
    // Auto backup delay (seconds)
    // Default: 1200 (20 minutes)
    "Delay": 1200,

    // Skip the next scheduled backup, if there are no players on the server
    // Default: false
    "SkipIfThereAreNoPlayers": false
  },
  
  "Archive": {
    // Keep the last backup of the day
    // Default: false
    "Enabled": false,

    // Backups limit
    // Default: 10
    "BackupsLimit": 10,
    
    // Custom archive folder path.
    // IMPORTANT: You must escape all '\' characters or use '/'
    // Example: "C:\\7DaysToDie\\Archive".
    // Default: ""
    "CustomArchiveFolder": ""
  },
  
  "Events": {
    // Backup when world loaded
    // Default: true
    "BackupOnWorldLoaded": true,

    // Backup when the last player on the server disconnected
    // Default: false
    "BackupOnServerIsEmpty": false
  },
  
  "Utilities": {
    // Chat notifications
    // Default: true
    "ChatNotificationsEnabled": true
  }
}


IMG_2042.jpg

 
I am ready to present you a new major version of the BackupMod. I've made some breaking changes, so your old backups will be hidden for the modlet. You should configure the new settings.json again if you want to the modlet works properly.
Now we have a new 'backup scanning' algorithm, so the modlet will make a manifest file for each backup archive. It allows us to store a little more information about each backup (e.g. in-game time, online, titles for backups, comparing world hashes etc.).

Changelog (v2.0.0) :
— Added a new module system that makes it easier to add new features
— Written a new algorithm for locating your saves, worlds and backups
— Each backup.zip file will now have a manifest.json file next to the zip file.
— Fixed the bug with the not working AutoBackup.Enable configuration option
— Logging improvements
— Configurable countdown
— Added debug mode for getting better feedback about errors
— Other code refactoring

If anyone has problems with this version of the mod, you should contact me here or create an issue on GitHub.


 
Last edited by a moderator:
sorry.
I put version 2.0 on the experimental server
No reaction.

It's complicated inside
"Backup over time"
It was also hard to find a place to change the setting time.

Originally, from the player of the server I want to enter
Because it is said that "heavy is not good",
I would like to use the previous version.

-- for translation
Text may be weird.

BackupMod の 新しいメジャーバージョンを紹介する準備ができました。重大な変更を加えたので、古いバックアップは modlet に対して非表示になります。modlet を適切に動作させたい場合は、新しい settings.json を再度構成する必要があります。
新しい「バックアップ スキャン」アルゴリズムが導入されたので、modlet は各バックアップ アーカイブのマニフェスト ファイルを作成します。これにより、各バックアップに関するもう少し多くの情報を保存できます (ゲーム内時間、オンライン、バックアップのタイトル、ワールド ハッシュの比較など)。

変更ログ (v2.0.0) :
— 新機能の追加を容易にする新しいモジュール システムを追加しました
— セーブ、ワールド、およびバックアップを見つけるための新しいアルゴリズムを記述し
ました — 各 backup.zip ファイルの隣に manifest.json ファイルが追加されましたzipファイル。
— AutoBackup.Enable 構成オプションが機能しないバグを修正しました
— ログの改善
— 構成可能なカウントダウン
— エラーに関するフィードバックを改善するためのデバッグ モードを追加しました
— その他のコードのリファクタリング

このバージョンの mod で問題が発生した場合は、ここで私に連絡するか、GitHub で問題を作成します。


 
Changelog (v2.0.1) :
— Md5 hash of the world feature fix

If anyone has problems with this version of the mod, you should contact me here or create an issue on GitHub.

sorry.
I put version 2.0 on the experimental server
No reaction.

It's complicated inside
"Backup over time"
It was also hard to find a place to change the setting time.

Originally, from the player of the server I want to enter
Because it is said that "heavy is not good",
I would like to use the previous version.

-- for translation
Text may be weird.
Sorry, but I can't understand your problem.

 
Backup 2.0 doesn't work on my own server
I don't know where to explain.
1. Where should I take pictures?

(Experimental server A and
We are operating 2 server B where the player is.)
B mackerel player
"I don't want it to be heavy with MOD"
When.
(I don't think it will be heavy with MOD in the first place)
2. What is your server load?

 
Backup 2.0 doesn't work on my own server
Try to install it on your PC first and start a singleplayer world.

Don't change the configuration.

Try if the mod accept commands like "backup".

When it don't accept the command, something is wrong with the installation of the mod.

Like the filestructure

Mods - BachupMod - config (When you have more folder then config, you use the master and you should download the release version).

Once the mod is working, you can configure/modify the 'settings.json' at your needs.

When anything is working, you can transfer it to your server.

 
Thanks for fixing the issue with auto backup disabling. In the end I decided to leave it enabled though. I've been using the mod for a while now and I have a few feature requests that you might consider:

  1. Make manual backups (optionally) reset the timer for auto backups. In case it's not clear, what I mean is that currently if the timer is set to 20 min and a manual backup is done eg. 15 minutes after an auto backup, the next auto backup will be 5 minutes after the manual backup. IMO it would make more sense if the timer was reset so the next auto backup would occur 20 minutes after the manual backup.
  2. Allow deleting backups while in-game.
  3. Add a console command to disable/enable auto backups in-game. Not permanently, just until exiting to the main menu or exiting the game.
Also, unless I'm misunderstanding how it's supposed to work, I think the Archive feature isn't working properly. I had it enabled it but it wasn't storing the last backup from each day. When I disabled it and deleted the archives, there were about a half dozen archives of the current day and none from previous days. Being on day 20, I was expecting the last backups from days 10-19. I mean, I assume there could be duplicates if I had loaded a save and reverted to a previous day, but that can't explain what I saw.

 
Changelog (v2.0.2) :
— Archive is not working as expected fix

If anyone has problems with this version of the mod, you should contact me here or create an issue on GitHub.

  1. Make manual backups (optionally) reset the timer for auto backups. In case it's not clear, what I mean is that currently if the timer is set to 20 min and a manual backup is done eg. 15 minutes after an auto backup, the next auto backup will be 5 minutes after the manual backup. IMO it would make more sense if the timer was reset so the next auto backup would occur 20 minutes after the manual backup.
  2. Allow deleting backups while in-game.
  3. Add a console command to disable/enable auto backups in-game. Not permanently, just until exiting to the main menu or exiting the game.
I'll make these features a little later. Thank you for your contribution to the development of the mod 🙃

 
Added the features requested by alphaniner

Changelog (v2.1.0) :
— Added two new commands ('bp start', 'bp stop') that allow you to manually start or stop the auto backup process
— Added a new property (ResetDelayTimerAfterManualBackup) to the settings.json file that resets the delay timer after manual backups
— Fixed the inability to delete backups while in-game

If anyone has problems with this version of the mod, you should contact me here or create an issue on GitHub.

 
Last edited by a moderator:
2022-10-10T02:03:18 1589.767 INF Executing command 'backup restore 0 0 10' by ControlPanel
2022-10-10T02:03:18 1589.781 WRN (ERR) [BackupMod]: This command can only be executed in the main menu

In single game, 'backup restore' will work well on main menu.
But it can not work on dedicated server?

* That dedicated server is not in my computer.
It's a hosting server (7D2D.net)

 
2022-10-10T02:03:18 1589.767 INF Executing command 'backup restore 0 0 10' by ControlPanel
2022-10-10T02:03:18 1589.781 WRN (ERR) [BackupMod]: This command can only be executed in the main menu

In single game, 'backup restore' will work well on main menu.
But it can not work on dedicated server?

* That dedicated server is not in my computer.
It's a hosting server (7D2D.net)
You cannot use 'bp restore' on a dedicated server by reason of your inability to manipulate with the current world save files while in-game (while a server is running).
In theory, if you need to restore not the current save you are playing, I can change the current behavior, and you will be able to do this from the next version of the mod.

 
You cannot use 'bp restore' on a dedicated server by reason of your inability to manipulate with the current world save files while in-game (while a server is running).
In theory, if you need to restore not the current save you are playing, I can change the current behavior, and you will be able to do this from the next version of the mod.


Thanks a lot!

I will look forward to next version!

 
Changelog (v2.1.2) :
— Added the ability to restore (bp restore) inactive saves while in-game

If anyone has problems with this version of the mod, you should contact me here or create an issue on GitHub.

 
Changelog (v2.1.2) :
— Added the ability to restore (bp restore) inactive saves while in-game

If anyone has problems with this version of the mod, you should contact me here or create an issue on GitHub.


[v2.1.2] bp restore is not working in single game and main menu

I met this message
[This command cannot executed on an active world save. Try to another parameters]

I uploaded screenshots on your GitHub.

 
[v2.1.2] bp restore is not working in single game and main menu

I met this message
[This command cannot executed on an active world save. Try to another parameters]

I uploaded screenshots on your GitHub.
Changelog (v2.1.3) :
— Fixed the inability to restore the current world after disconnecting

If anyone has problems with this version of the mod, you should contact me here or create an issue on GitHub.

 
Back
Top