Search Unity

Turbo Backup PRO - Fast and save backup solution

Discussion in 'Assets and Asset Store' started by Stefan-Laubenberger, Mar 13, 2018.

  1. Barritico

    Barritico

    Joined:
    Jun 9, 2017
    Posts:
    374
    Hi!

    Error after update to last version:

    Assets\Plugins\crosstales\TurboBackup\Editor\Util\GAApi.cs(16,24): error CS0117: 'Config' does not contain a definition for 'TRACER'

    Thanks
     
  2. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    Barritico likes this.
  3. Barritico

    Barritico

    Joined:
    Jun 9, 2017
    Posts:
    374
    Stefan-Laubenberger likes this.
  4. andyasj

    andyasj

    Joined:
    Nov 23, 2016
    Posts:
    18
    Hello,
    very pleased so far with v2020.1.0
    My projects are too large for git without paying for larger repos so I just use git for code now and backup for everything else.
    Can you tell me why backing up to my hard drive is extremely quick - a few seconds, but to a usb3.0 flash drive takes about 5 mins. Is there any other reason apart from usb being simply slower?
     
  5. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    Hi Andyasj

    There are multiple reasons that could affect the speed. Many USB flash drives are still very slow with rates below 5MB/s. Furthermore, it depends on the frequency of your backups; the first backup will often consume the most time. If you backup frequently, it should take less time since the difference is smaller.

    I hope this helps you further.


    Cheers
    Stefan
     
  6. netpost

    netpost

    Joined:
    May 6, 2018
    Posts:
    388
    @Stefan-Laubenberger

    I just start using Turbo Backup. It seems like a great solution for backup. I read the manual but I still have some questions:

    1-Is ther a reason why Copy library is unchecked by default? My goal is to have a full backup in case my hard drive crash, would it be better to have it checked or not?

    2-I like to have at least 2 different backups for each project on two different drives. How can this be accomplish? Is there a way to do multiple copy /backup for the same project?

    Thank you for your help.
     
  7. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    Hi

    Thank you for investing into Turbo Backup!

    Here are the answers to your questions:
    1. The "Library"-folder is completely generated from the "Assets"-folder. Therefore, it's not needed to have a backup from it. The main advantage of enabling it is the time you save for the re-import in case of a total crash, the disadvantage is the (much) bigger backup size.
    2. Turbo Backup was designed to hold only one backup-version at the time (in one directory); otherwise it would lose the "turbo" aspect :) However, you could switch between multiple backup locations by setting the "Custom Backup Path" in the configuration. We will maybe improve that in the future, but I'm currently unsure about the implementation - we like our tools simple.
    I hope this helps you further.


    Cheers
    Stefan
     
  8. netpost

    netpost

    Joined:
    May 6, 2018
    Posts:
    388
  9. NathanielAH

    NathanielAH

    Joined:
    Jul 22, 2013
    Posts:
    100
    @Stefan-Laubenberger , I was using Turbo Backup Pro on a project, and made multiple backups just fine. I imported additional assets, and now the Window entry for the tool is gone. I deleted and re-imported to see if that would solve. I cannot seem to get it back. Any thoughts? Is there a way to force open the dialog directly?

    EDIT: I've tried re-producing by creating a new project and importing all the same assets. The issue has not re-occurred.

    Thanks.

    Sincerely,
    Nathaniel
     
    Last edited: Jul 16, 2020
  10. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    Hi Nathaniel

    Just to verify: it works in an empty project and you find the entry "Turbo Backup PRO" in the "Window"-menu.
    If you do the same in your current project, the entry isn't there, right?

    Which version are you of Unity and our asset are you using?


    Cheers
    Stefan
     
  11. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    @NathanielAH Please put the attached file into an "Editor"-folder. It should add a menu called "Tools" with the entry "Show Turbo Backup".

    Does that work?
     

    Attached Files:

  12. NathanielAH

    NathanielAH

    Joined:
    Jul 22, 2013
    Posts:
    100
    • Yeah, it works in an empty project. In the current project it was there, and then disappeared, and removing / re-importing the asset didn't bring it back. I even stripped out all assets back to where I was after installing Turbo Backup Pro, and it still wouldn't come back so something got hosed.
    • I am going to start from scratch, and backup before each asset import / package install until the point I was before to see if I can re-create and give you more detail, or see if I screwed up somewhere.
    • As to Unity version it's 2019.4.1f1.
    • As to the script, no it didn't work. I tried it both at root level in Assets, and within Backup Pro Editor folder.
    Again, I'm going to work at trying to re-create and see if I can give more info, or identify where I screwed up. I'll reach back out then. In the interim, outside of manually copy the backup folders over, the only other method to invoke would be via code yes?

    In anycase, thank you for the response!
     
  13. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    Yes, you could call it from code, with "BAR.Backup()" and "BAR.Restore()" - you find an example in "Example Editor Integration".

    Please let me know about your findings.
     
  14. NathanielAH

    NathanielAH

    Joined:
    Jul 22, 2013
    Posts:
    100
    I've gone through a complete rebuild, and the issue hasn't presented itself again. Appears something got hosed in the Asset folder. So far so good though. If it changes or crops up again I'll reach out. Otherwise, thanks for the follow-up.

    Thank you.

    Sincerely,
    Nathaniel Hatten
     
    Stefan-Laubenberger likes this.
  15. MaximilianPs

    MaximilianPs

    Joined:
    Nov 7, 2011
    Posts:
    322
    Any chance to change "TB_backup" with something else?
     
  16. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    Hi

    Sure, please enable "Custom Backup Path" in the configuration and select the folder you like:
    upload_2020-10-11_16-9-32.png

    I hope this helps you further.


    Cheers
    Stefan
     
  17. MaximilianPs

    MaximilianPs

    Joined:
    Nov 7, 2011
    Posts:
    322
    Nope, 'cause still create TB_Backup
     
  18. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    This is a safety measure: if a user accidentally chooses a folder with multiple other folders and files, it could become very unclear where TB stores the files. Therefore, TB always creates the folder "TB_Backup" in the destination.

    However, you can change the value of the variable "BACKUP_DIRNAME" in Constants.cs to your liking.
    I hope this helps you further.
     
  19. MaximilianPs

    MaximilianPs

    Joined:
    Nov 7, 2011
    Posts:
    322
    That was exactly what I was looking for!
    Thank you sir. :)
     
    Stefan-Laubenberger likes this.
  20. MaximilianPs

    MaximilianPs

    Joined:
    Nov 7, 2011
    Posts:
    322
    upload_2020-12-3_18-25-24.png

    Would be very useful if under backup or restore, as you prefer, we could read WHEN we've made the lastest backup.
    That's 'cause I have 2 PCs (@home and @work ) and I made my backup on OneDrive.

    And I can't be sure if I'm restoring and old backup or not.
    <<" Did I made the backup yesterday night? :eek: ">>
     
  21. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    Hi

    I see the issue and we will add a solution in the next update.


    Cheers
    Stefan
     
    MaximilianPs likes this.
  22. MaximilianPs

    MaximilianPs

    Joined:
    Nov 7, 2011
    Posts:
    322
    Amazing :-D
     
  23. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    We've just released version 2020.4.3 of Turbo Backup.
    Main changes:
    • Planned final release for 2020
    • Example integration improved
    • New Youtube video added:
    • Updated to Common 2020.4.7
     
  24. JohnnyFactor

    JohnnyFactor

    Joined:
    May 18, 2018
    Posts:
    343
    I'm showing last backup date of 0001-01-01 12:00:00 AM.
    2nd backup a few days later has not changed it. Auto backup is disabled.

    Turbo Backup Pro 2020.4.5
    Unity 2019.4.16
    Windows 10
     
  25. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    Hi JohnnyFactor

    I assume you're using a custom backup path?
    However, we found the problem and fixed it - please send us your invoice via email and we will give you access to the fix.

    So long,
    Stefan
     
  26. lizkin

    lizkin

    Joined:
    Jun 22, 2013
    Posts:
    18
    Hello,

    Is this asset only restores the last backup ? Or is it possible to restore old backups ? (For example can I go back to 3 backups early state ?)
     
  27. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    Hi

    Thank you for your interest in our tool!

    Turbo Backup contains only the last backup - otherwise it would lose its "turbo" backup capability. It's the incremental backup strategy that makes it so fast.
    However, you can set a custom folder inside our asset; this way, you could create folders (e.g. per day, week etc.) and use them to achive multiple backups of different states.
    You can also control our asset via scripting which would allow you to automate this requirement.

    I hope this helps you further.


    Cheers
    Stefan
     
  28. lizkin

    lizkin

    Joined:
    Jun 22, 2013
    Posts:
    18
    Thank you very much :)
     
    Stefan-Laubenberger likes this.
  29. MaximilianPs

    MaximilianPs

    Joined:
    Nov 7, 2011
    Posts:
    322
    Would be cool to have something like Git where you can name the backup and save only the modified file.
    Each branch name is a folder, the first back up is the base... Then if the user wish can start branching his GitBackup by naming the brach.:D
     
    Stefan-Laubenberger likes this.
  30. ge01f

    ge01f

    Joined:
    Nov 28, 2014
    Posts:
    121
    Do you have a recommended method of using TB to backup and restore between 2 computers, so that development can alternate between a laptop and a desktop machine?

    I could make the local backup path get rsyncd to the other machine.

    Is it safe to just do a backup on the Laptop, rsync the directory to the Desktop, and do a restore there?
     
  31. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    Hi

    You could safely use rsync to do the sync of the shared backup-directory between the machines. Just make sure you do a complete mirroring, so that the backup on the machines is equals the shared backup and vice versa.

    I hope this helps you further.


    Cheers
    Stefan
     
    ge01f likes this.
  32. ge01f

    ge01f

    Joined:
    Nov 28, 2014
    Posts:
    121
    So I got rsync set up between the 2 machines, and it works properly with all the test cases for adding/removing files etc.

    If anyone else is interesting here is the options for Windows (cygwin rsync, add noacl to /etc/fstab so it doesnt ruin your permissions). It will archive (keeps mtime, etc), but write full files (deltas can freeze), and not check file permissions, and will delete files on the other side if removed from this side, and will give windows file system 2 seconds leeway on differences in modified time. Host name for other machine is "targetmachine" in the example, add to your hosts file. This is from WSL Ubuntu on local machine to Cygwin rsync on remote machine (via free version of Bitvise SSH), for the different paths:

    Code (JavaScript):
    1. rsync -avtW --no-p --delete --modify-window=2 --exclude Backup.dat /mnt/e/Backup/Unity/project/ targetmachine:"/cygdrive/c/Backup/Unity/project/" ; echo -e "\07"
    2.  
    Without the --exclude Backup.dat it will freeze forever like this:

    backup_busy.png

    There is no CPU activity or disk activity, and it stays there for hours. Normally restore is fairly quick.

    I turned on Debug, but I dont see where it is writing to. It doesnt write anything to the above output, if it should go there.

    But with the above command, excluding Backup.dat, everything appears to work properly. Mostly, there are times it still says "busy, please wait...", but they seem to be rare. I dont know why they occur though, especially since its not happening regularly.
     
    Last edited: Jul 27, 2021
  33. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    As it seems, rsync can't copy the "Backup.dat" because it's in use.
    When do you trigger the sync? Are you using the "OnBackupComplete"-callback or the "Method After Backup"-approach?

    Are you using the latest version from Turbo Backup, which is 2021.2.3?
     
  34. MaximilianPs

    MaximilianPs

    Joined:
    Nov 7, 2011
    Posts:
    322
    I'm getting a bunch of errors, after Installed the A+ Assets Explorer 2

    upload_2021-8-8_14-56-4.png
     
  35. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    §§
    Hi

    I don't own the asset you imported, but I'm 99.9% sure it's their fault ;)
    We are using namespaces and I suspect "A+ Asset Explorer" has a class "Constants.cs" that either uses no namespace or something like "Util". Is that the case?


    So long,
    Stefan
     
    MaximilianPs likes this.
  36. MaximilianPs

    MaximilianPs

    Joined:
    Nov 7, 2011
    Posts:
    322
    I will check, in case, I will add a namespace, thank you.
    At the moment It's free by the way :D
     
  37. MaximilianPs

    MaximilianPs

    Joined:
    Nov 7, 2011
    Posts:
    322
    IDEA :)

    What about a backup counter?
    maybe on the interface itself, so could Track my release version too :cool:
     
  38. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    Thank you for your idea :)
    It's already available under "Config.BACKUP_COUNT" but be aware this is currently only for local backups.
    If you share it with others you my get a mess because everybody would have their own backup count.


    Edit:
    It's now part of the UI:
    upload_2021-8-11_16-4-45.png
     
    Last edited: Aug 12, 2021
  39. MaximilianPs

    MaximilianPs

    Joined:
    Nov 7, 2011
    Posts:
    322
    Ok...
    Indeed I backup on OneDrive and I guess it would be risky... mostly because I'm always makes mistake and screw-up things o_O:rolleyes::D
     
  40. andyasj

    andyasj

    Joined:
    Nov 23, 2016
    Posts:
    18
    Stefan,
    I have been using TBPro for a while now and find it very useful.
    I have now started using it to transfer a project between computers. My main laptop is big and heavy so I use a Dell XPS 13" when away from home. This has worked extremely well so far but I am starting to get problems with VisualStudio project files. On the Dell the VS project files do not seem to link properly to the Unity project. I have only just noticed this problem so have not researched it yet. I don't really know anything about VS project files work.
    Any ideas? Is this a TBPro problem or can I simply reset the VS project files somehow?
    Andy
     
  41. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    Hi Andy

    TB does not touch those files, so it's maybe another problem.
    However, you can safely delete all files ("csproj" etc) in the root of your project (Unity should be closed). The necessary files will be created again.


    Cheers
    Stefan
     
  42. MaximilianPs

    MaximilianPs

    Joined:
    Nov 7, 2011
    Posts:
    322
    Hello @Stefan-Laubenberger :D
    If I remove folder, or even assets, and then backup.
    When I restore, shouldn't that files get removed from my project if I restore it?

    ... I explain better:
    I backup on a Home-PC inside my OneDrive.
    When I restore the backup from my Laptop at work, I expect that my project get the same state as Home-PC.

    Isn't that they way it's works? o_O
     
  43. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    That should work that way. Isn't it?
     
  44. MaximilianPs

    MaximilianPs

    Joined:
    Nov 7, 2011
    Posts:
    322
    Yes it is, was an issue with OneDrive :oops::D
     
    Stefan-Laubenberger likes this.
  45. ge01f

    ge01f

    Joined:
    Nov 28, 2014
    Posts:
    121
    I was just pressing the Backup button in the GUI, so whichever method that uses.

    Im using 2021.2.3 according to the About page.
     
  46. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    Hi

    The latest version is 2021.2.6, please consider updating.


    Cheers
    Stefan
     
  47. Barritico

    Barritico

    Joined:
    Jun 9, 2017
    Posts:
    374
    HELP!!!

    after a long, long time using TURBO BACKUP PRO excellently ... it won't start today.

    Window - Turbo Backup Pro ..... and nothing
    No console messages and no errors.

    I have Unity version 2021.1.28f1 but I had already used TBP with this version without problem.

    I need urgent help, please.

    Thanks.
     
  48. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    Hi

    Have you already tried changing the layout in Unity and opening TBP again?


    So long,
    Stefan
     
  49. Barritico

    Barritico

    Joined:
    Jun 9, 2017
    Posts:
    374
    Hi.
    No. But now do it and nothing.
     
  50. Stefan-Laubenberger

    Stefan-Laubenberger

    Joined:
    May 25, 2014
    Posts:
    1,981
    This is really strange - I have no idea why this should happen :(
    Can you please delete and then re-install the asset?
     
    Barritico likes this.