Giter VIP home page Giter VIP logo

go-fs-snapshot's Introduction

Intro

This site hosts the source for all my Miranda IM plugins.

I don't have time anymore to develop them, so they stay here as help and incentive for other developers. Maybe someday I can get back to them ;)

Miranda IM plugins




go-fs-snapshot's People

Contributors

pescuma avatar

Stargazers

 avatar

Watchers

 avatar  avatar

go-fs-snapshot's Issues

fs_snapshot enable test should also check for scheduled task presence

Hello,

Another small oversight I think :)

I deleted the scheduled task folder and ran test. It did not check for scheduled task presence.

Thanks for looking into this.

C:\Windows\system32>fs_snapshot enable test
Current user ([...]\admin) can create snapshots.

C:\Windows\system32>fs_snapshot enable for current-user
User [...]\admin already has SeBackupPrivilege

User [...]\admin already has SeBatchLogonRight

Creating scheduled task "\fs_snapshot\server start ([...]_admin)"

Error creating snapshot for disk with drive letter and path mount

Hello,

I have a server which has a disk with both a drive letter (H:) and a path mount (C:\Mount\D31).
After enabling VSS on the path, I get the following error:

kopia.exe snapshot create H:\VM
Snapshotting user@svr:H:\VM ...
Created filesystem snapshot for 'H:\, ount\D31\' using provider 'Microsoft Software Shadow Copy provider 1.0' and mapped to '\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy2\'
ERROR upload error: can't create snapshot local fs entry: unable to determine entry type: CreateFile \\?\GLOBALROOT\VM: The system cannot find the file specified.

Notice the path: H:\, ount\D31\

If I remove the path mount (C:\Mount\D31), the VSS snapshot succeeds:

Snapshotting user@svr:H:\VM ...
Created filesystem snapshot for 'H:\' using provider 'Microsoft Software Shadow Copy provider 1.0' and mapped to '\\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy5\'

Thanks for looking into this.

Snapshot server (task) needs restarting

Hello,

Another issue :)

The fs_snapshot works for a while (eg. after reboot). After some time, I get the following error from kopia:

Error: upload error: can't create snapshot local fs entry: error creating filesystem snapshot engine: the current user does not have sufficient backup privileges or is not an administrator.

Status when it is not working:

schtasks /query
...
Folder: \fs_snapshot
TaskName                                 Next Run Time          Status
======================================== ====================== ===============
server start (STORAGE_admin)            N/A                    Running
...
fs_snapshot enable test
Current user (STORAGE\admin) can create snapshots.

fs_snapshot version 0.0.11 windows/amd64 (compiled on 2023-02-21 22:18:29 -0300 -03 with go 1.19.5)
Kopia version: Version v20221208.0.0-7ce9bdd8

Resolution: stop and restart the server from task scheduler. After that, kopia can create snapshots.

If you need additional information, I can reproduce this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.