Automated Backup

Bongert

Active Member
OP
Newcomer
Joined
Dec 22, 2020
Messages
29
Trophies
0
Age
24
XP
129
Country
Germany
Anyone know the best solution for backing up the entire switch files automatically?

Im currently using FreeFileSync and some scripts for my other handhelds. it basically works as follow.
I have a PowerShellScript that detects a USB plugin event. If it detects the right drive (microSD cards in the case of my PSP, 3DS and various everdrives) itll launch a FreeFileSync batch file that will then start the backup task, copying all the data 1:1 off of the microSD cards.
this allows me to easily backup my files in a matter of seconds. and if i need to access the cards anyways itll do a backup also.

doing lets say a windows backup this way obviously wouldnt work because you need an image. just copying the windows files wont work when trying to use that backup. For the 3DS and PSP, simply copying the data over works because hacking those systems is just a matter of getting the right files on there and once they are on youre good.

Now, i dont know if it works the same way with the switch, what with emunand and all that stuff.
i just tried my luck doing the same with the switch and it expectedly didnt work. When i plug in the switch via USB and launch Tinfoil to have it show up on my PC i dont get a drive but a device instead, and FFS doesnt want to just copy it over and ends up crashing.

What would i need to do make a proper backup of my switch? i know i could try powering the switch down and plugging in the SD card directly but i honestly cant be bothered to go through the payload process every single time i want to backup my data. ideally i would do it via USB connection.
 

Ryab

Well-Known Member
Member
Joined
Aug 9, 2017
Messages
2,502
Trophies
1
XP
3,320
Country
United States
Anyone know the best solution for backing up the entire switch files automatically?

Im currently using FreeFileSync and some scripts for my other handhelds. it basically works as follow.
I have a PowerShellScript that detects a USB plugin event. If it detects the right drive (microSD cards in the case of my PSP, 3DS and various everdrives) itll launch a FreeFileSync batch file that will then start the backup task, copying all the data 1:1 off of the microSD cards.
this allows me to easily backup my files in a matter of seconds. and if i need to access the cards anyways itll do a backup also.

doing lets say a windows backup this way obviously wouldnt work because you need an image. just copying the windows files wont work when trying to use that backup. For the 3DS and PSP, simply copying the data over works because hacking those systems is just a matter of getting the right files on there and once they are on youre good.

Now, i dont know if it works the same way with the switch, what with emunand and all that stuff.
i just tried my luck doing the same with the switch and it expectedly didnt work. When i plug in the switch via USB and launch Tinfoil to have it show up on my PC i dont get a drive but a device instead, and FFS doesnt want to just copy it over and ends up crashing.

What would i need to do make a proper backup of my switch? i know i could try powering the switch down and plugging in the SD card directly but i honestly cant be bothered to go through the payload process every single time i want to backup my data. ideally i would do it via USB connection.
When in the hekate menu you can make backups, you can then either take out the SD while in the hekate menu (hekate will automatically restart after reinserting it) or boot the system back up and transfer it via FTP.
 
  • Like
Reactions: BigOnYa

Bongert

Active Member
OP
Newcomer
Joined
Dec 22, 2020
Messages
29
Trophies
0
Age
24
XP
129
Country
Germany
When in the hekate menu you can make backups, you can then either take out the SD while in the hekate menu (hekate will automatically restart after reinserting it) or boot the system back up and transfer it via FTP.
can i get into hekate without doing the whole dance with the jig and payload?
 

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,512
Trophies
2
XP
5,962
Country
United States
can i get into hekate without doing the whole dance with the jig and payload?

You can use fastCFWSwitch to reboot directly to Hekate w/o the jig and payload dance. It uses reboot_to_payload. You can even reboot to automatically exporting you SDCard or Sysnand or Emunand already exported.

https://gbatemp.net/threads/overlay-fastcfwswitch.562451/

here’s my /config/fastCFWSwitch/config.ini for some big hints on how to do it:

[CFWS]
type=section
name=CFW

[ATMOSPHERE]
name=atmosphere
path=/bootloader/update.bin
bootId=atmo

[SXOS]
name=sxos
path=/bootloader/update.bin
bootId=sxos

[ANDROID]
name=android
path=/bootloader/update.bin
bootId=andr

[L4T]
name=ubuntu
path=/bootloader/update.bin
bootId=ubun

[LAKKA]
name=lakka
path=/bootloader/update.bin
bootId=lakk

[LIBRE]
name=libreelec
path=/bootloader/update.bin
bootId=libr

[OFW]
type=section
name=OFW

[STOCK]
name=stock
path=/bootloader/update.bin
bootId=sysn

[TOOLS]
type=section
name=TOOLS

[HEKATE]
name=hekate
path=/bootloader/update.bin
bootId=dead

[LOCKPICKRCM]
name=lockpick
path=/bootloader/payloads/Lockpick_RCM.bin

[CPR]
name=CPR
path=/bootloader/payloads/CommonProblemResolver.bin

[UMS]
type=section
name=UMS

[SD_CARD]
name=SD
path=/bootloader/update.bin
ums = sd

[EMMC_BOOT_0]
name=EMMC BOOT 0
path=/bootloader/update.bin
ums = emmc_boot0

[EMMC_BOOT_1]
name=EMMC BOOT 1
path=/bootloader/update.bin
ums = emmc_boot1

[EMMC_GPT]
name=EMMC GPT
path=/bootloader/update.bin
ums = emmc_gpt

[EMU_BOOT_0]
name=EMU BOOT 0
path=/bootloader/update.bin
ums = emu_boot0

[EMU_BOOT_1]
name=EMU BOOT 1
path=/bootloader/update.bin
ums = emu_boot1

[EMU_GPT]
name=EMU GPT
path=/bootloader/update.bin
ums = emu_gpt
 
  • Like
Reactions: BigOnYa
General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    Hope they made lots of spaget
  • K3N1 @ K3N1:
    Chill dog
  • SylverReZ @ SylverReZ:
    Chilli dog
  • Skelletonike @ Skelletonike:
    Damn, I'm loving the new zelda.
  • xtremegamer @ xtremegamer:
    loving the new zelda, i started a game, it was so fucking good, so i
    am waiting on my friend to get home so we can start a new one together
  • Skelletonike @ Skelletonike:
    I just dislike that they don't let me choose the voices before the game starts. Happened with botw as well, had to change to japanese and restart.
  • K3N1 @ K3N1:
    But the important question is can you choose gender
  • Skelletonike @ Skelletonike:
    Same way you can choose Gerald's gender.
  • Skelletonike @ Skelletonike:
    *Geralt, damn autocorrect.
  • Psionic Roshambo @ Psionic Roshambo:
    But can he be trans? Lol
  • K3N1 @ K3N1:
    Zelda transforms into link
  • Psionic Roshambo @ Psionic Roshambo:
    Link I'm not the princess your looking for.... *Pulls a crying game*
  • K3N1 @ K3N1:
    *skirt up* it's exactly what I always wanted
  • Skelletonike @ Skelletonike:
    Just scanned all my zelda amiibos, took a while but didn't get anything that cool, did get the lon lon ranch hylian fabrics though.
  • Skelletonike @ Skelletonike:
    It was pretty funny when I scanned wolf link and got a shit load of meat.
  • K3N1 @ K3N1:
    @Skelletonike, btw I ran that custom for mgs4 on the deck I'm amazed it got that far in game
  • K3N1 @ K3N1:
    Plug in*
  • K3N1 @ K3N1:
    Your favorite activity
  • BentlyMods @ BentlyMods:
    My fav actvity is:

    mario-dancing.gif
  • Psionic Roshambo @ Psionic Roshambo:
    Do the Mario lol
  • K3N1 @ K3N1:
    🍑
  • K3N1 @ K3N1:
    Whoever developed Bramble was smoking that good shit fucking gnomes
    K3N1 @ K3N1: Whoever developed Bramble was smoking that good shit fucking gnomes