Automated Backup

Bongert

Active Member
OP
Newcomer
Joined
Dec 22, 2020
Messages
29
Trophies
0
Age
25
XP
149
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
3,262
Trophies
1
XP
4,509
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.
 

Bongert

Active Member
OP
Newcomer
Joined
Dec 22, 2020
Messages
29
Trophies
0
Age
25
XP
149
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?
 

Hayato213

Newcomer
Member
Joined
Dec 26, 2015
Messages
20,072
Trophies
1
XP
21,233
Country
United States
can i get into hekate without doing the whole dance with the jig and payload?

You need it to be chipped if you don't want to send any payload, as for jig, you need to rely on autoRCM so technically you would want a V1 unpatched unit with like trinket m0.
 

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,157
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

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • Veho @ Veho:
    Double dickhead chinballs is still better than double dickhead eyeballs.
    +1
  • Veho @ Veho:
    As in, the balls will grow in your eye sockets.
  • K3Nv2 @ K3Nv2:
    I paid 5 grand to get them moved to my chin
    +1
  • Veho @ Veho:
    This you?
  • K3Nv2 @ K3Nv2:
    My hair can't be that cool
    +1
  • Veho @ Veho:
    Ah, yes, portrait mode, surely the best way to film a row of people. If only there were some way to fit a wider shot, at the expense of height... if only...
    +1
  • K3Nv2 @ K3Nv2:
    4k portrait mode?
    +1
  • BigOnYa @ BigOnYa:
    Diddy - "I never touched her, that bitch is crazy." Video is released. Diddy - " Ok I did it, i am remorseful for my actions during my darkest times." Lol
  • SylverReZ @ SylverReZ:
    @BigOnYa, Glad that the Diddler got caught once again.
    +1
  • K3Nv2 @ K3Nv2:
    Iran ran out of options
  • K3Nv2 @ K3Nv2:
    Thought I saw my ex on that new kingdom of the Apes poster
  • BigOnYa @ BigOnYa:
    I thought I saw a puttie snatch...
  • BigOnYa @ BigOnYa:
    I'm so pumped, NCAA football video game is back after a 10 year hiatus, coming to SeriesS/X, PS5 in July.
  • BigOnYa @ BigOnYa:
    Wish they would let us play the NCAA football 14 on newer xbox, its one of the only games I love and own on disc still, that is not back compatible, bs.
  • AdenTheThird @ AdenTheThird:
    @BigOnYa My dad recently bought a spare Series X off of me, got game pass, and saw Madden '24 on Game Pass, decided to try it out.

    ...He was a bit taken aback by the 60GB download size. Poor guy's still living in the 90s!
    +1
  • SylverReZ @ SylverReZ:
    @AdenTheThird, Bro's still in the PS2 age.
  • K3Nv2 @ K3Nv2:
    Lol charging your dad's classic unless he's the type that doesn't like taking things like that
  • AdenTheThird @ AdenTheThird:
    @K3Nv2 He was looking into consoles for his house anyway (for my younger siblings and himself) and I had a spare XSX and Switch I ended up selling him at pretty steep cuts. I would just give them to him, but I did buy them with the intent to sell them... and college is super expensive.
    AdenTheThird @ AdenTheThird: @K3Nv2 He was looking into consoles for his house anyway (for my younger siblings and himself)...