[Plugin] Appdata.Backup


Recommended Posts

9 hours ago, urbanracer34 said:

There are some dockers I wish to keep backed up but don't want them turned on during the backup process. The dockers since have been deprecated by the developers and may conflict with ones I DO USE.

The plugin doesn't start containers that weren't already started, so what's the problem?

  • Upvote 1
Link to comment
On 1/4/2024 at 9:59 AM, scubieman said:

Question, sorry for the 100th time but i do not showing a leading / in my member. What am I missing?

 

[04.01.2024 03:14:54][][HomeAssistantCore] tar verification failed! Tar said: tar: Removing leading `/' from member names; mnt/user/appdata/HomeAssistantCore/home-assistant.log: Mod time differs; mnt/user/appdata/HomeAssistantCore/home-assistant.log: Size differs; mnt/user/appdata/HomeAssistantCore/home-assistant_v2.db-wal: Mod time differs; mnt/user/appdata/HomeAssistantCore/home-assistant_v2.db-wal: Contents differ; mnt/user/appdata/HomeAssistantCore/home-assistant_v2.db-shm: Mod time differs; mnt/user/appdata/HomeAssistantCore/home-assistant_v2.db-shm: Contents differ

 

Someone look at this please?

Link to comment
1 minute ago, urbanracer34 said:

I have combed this page to death and haven't found anything for help whatsoever. I am at a loss. I really want to make this work. 

Do you mean the help doesn't answer your questions? Or do you mean you don't know how to access the help?

Link to comment

The label or description of a setting is a toggle to display help for that setting. How much help is provided may vary with plugins since they have different authors.

 

There is also a Help ( ? ) button on the main bar at the top of the webUI which will toggle help for everything in the webUI.

Link to comment
On 1/3/2024 at 12:13 AM, kelmino said:

Question though, if I exclude the Cache, Media, and Metadata folders in the Plex appdata folder, what's the worst case scenario in case of a needed restore?

Cant tell. But Media sounds like some important folder? I really dont know whats worth a backup in Plex.

 

On 1/3/2024 at 9:23 AM, K1LLA_KING_KING said:

Is there anyway to backup and restore plugins?

No. There is no reason to backup plugins in my eyes.

 

On 1/4/2024 at 12:08 AM, Revan335 said:

I have the Issue that maybe the Status/Log are empty, but the Backup its running in the past.

I read about this some time ago. Could you post the response for the command "ls -la /tmp"?

 

 

Link to comment
14 minutes ago, KluthR said:

I read about this some time ago. Could you post the response for the command "ls -la /tmp"?

Yes, the Directory are existing.

# ls -la /tmp/
total 636
drwxrwxrwt 22 root root    600 Jan  6 19:58 ./
drwxr-xr-x 20 root root    440 Jan  6 17:00 ../
drwxrwxrwt  2 root root     40 Jan  6 16:59 .ICE-unix/
drwxrwxrwt  2 root root     40 Jan  6 16:59 .X11-unix/
drwxr-xr-x  2 root root     40 Jan  6 17:00 .preclear/
drwxr-xr-x  2 root root     40 Jan  6 17:01 CA_logs/
drwxr-xr-x  2 root root     40 Jan  6 19:58 appdata.backup/
-rw-r--r--  1 root root      0 Jan  6 17:00 atlock.tmp
drwxr-xr-x  3 root root     60 Jan  6 16:59 ca.turbo/
drwxr-xr-x  2 root root     60 Jan  6 17:01 ca_notices/
drwxr-xr-x  3 root root     60 Jan  6 16:59 community.applications/
drwxr-xr-x  2 root root     60 Jan  6 17:00 emhttp/
drwxr-xr-x  2 root root     60 Jan  6 17:00 file.activity/
drwxr-xr-x  2 root root    120 Jan  6 19:47 fix.common.problems/
-rw-r--r--  1 root root    658 Jan  6 19:58 gpujson
drwxr-xr-x  2 root root     80 Jan  6 18:37 gui.search/
-rw-r--r--  1 root root     75 Jan  6 17:00 modulestoplg.json
-rw-r--r--  1 root root      4 Jan  6 17:00 nics
drwxr-xr-x  3 root root    920 Jan  6 19:58 plugins/
drwxr-xr-x  2 root root     40 Jan  6 17:00 preclear/
drwxr-x---  2 root root    120 Jan  6 17:05 recycle.bin/
-rw-r--r--  1 root root      1 Jan  6 17:00 sysdrivers.init
-rw-r--r--  1 root root 623409 Jan  6 17:00 sysdrivers.json
-rw-r--r--  1 root root      5 Jan  6 19:47 syslog-notify-last-error-line-number.log
drwx------  2 root root     60 Jan  6 17:00 tmux-0/
drwxr-x---  5 root root    120 Jan  6 18:47 unassigned.devices/
-rw-r--r--  1 root root     11 Jan  6 16:59 update-helper
drwxr-xr-x  3 root root     60 Jan  6 17:00 usb_manager/
drwxr-xr-x  5 root root    140 Jan  6 17:00 user.scripts/
drwxrwxrwx  2 root root    100 Jan  6 17:00 vmbackup/

 

Link to comment
57 minutes ago, KluthR said:

Of course it exists. I wanted to check its subfolders. Please run the command again with /tmp/appdata.backup as path. 

Nothing

 

# ls -la /tmp/appdata.backup/
total 0
drwxr-xr-x  2 root root  40 Jan  6 19:58 ./
drwxrwxrwt 21 root root 580 Jan  6 21:24 ../

 

Link to comment

Hi, is there some way to abort the backup execution if the pre-run script doesn't succeed? (returns something other than 0) 🙂

 

Basically I want to check for a lockfile via a script that gets written to a folder, as long as that lockfile is there no backup process should be triggered as something else is currently moving the data, therfor "locking" it. Currently I can see in the debug log that the plugin does detect my script returning a 1 and considering it failed, but it still continues with the backup execution. Am I missing something, or is this just not a feature of this plugin? 

Link to comment
10 hours ago, Hidri said:

Hi, is there some way to abort the backup execution if the pre-run script doesn't succeed? (returns something other than 0) 🙂

Currently not possible. But could be via exit codes. Nice finding!

 

1 could be the behavior like now

2 could be an indicator for „stop the backup“.

Link to comment
1 hour ago, KluthR said:

Thats true. Any reboot wipes out the last log. But I understood that the log gets not created directly after backup.

It's good that there's nothing he needs to wipe. Less work for him.

 

Can i share any Log, Debug ... for a solution/analys from you?

Share Debug Log its not working that are no log is available.

 

I hoped that's reboot can the plugin convinced to create logs after or through the backup processing. Plugin say no.proxy-image(4).jpg.81edb624d0c27b5f70bfa50ae7b848d0.jpg

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.