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,263
Trophies
1
XP
4,510
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,078
Trophies
1
XP
21,246
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.
  • SylverReZ @ SylverReZ:
    They probably said "Hey, why not we combine the two together and make a 'new' DS to sell".
  • Veho @ Veho:
    It's a DS Lite in a slightly bigger DS Lite shell.
    +1
  • Veho @ Veho:
    It's not a Nintendo / iQue official product, it's a 3rd party custom.
    +1
  • Veho @ Veho:
    Nothing special about it other than it's more comfortable than the Lite
    for people with beefy hands.
    +1
  • Jayro @ Jayro:
    I have yaoi anime hands, very lorge but slender.
  • Jayro @ Jayro:
    I'm Slenderman.
  • Veho @ Veho:
    I have hands.
  • BakerMan @ BakerMan:
    imagine not having hands, cringe
    +1
  • AncientBoi @ AncientBoi:
    ESPECIALLY for things I do to myself :sad:.. :tpi::rofl2: Or others :shy::blush::evil:
    +1
  • The Real Jdbye @ The Real Jdbye:
    @SylverReZ if you could find a v5 DS ML you would have the best of both worlds since the v5 units had the same backlight brightness levels as the DS Lite unlockable with flashme
  • The Real Jdbye @ The Real Jdbye:
    but that's a long shot
  • The Real Jdbye @ The Real Jdbye:
    i think only the red mario kart edition phat was v5
  • BigOnYa @ BigOnYa:
    A woman with no arms and no legs was sitting on a beach. A man comes along and the woman says, "I've never been hugged before." So the man feels bad and hugs her. She says "Well i've also never been kissed before." So he gives her a kiss on the cheek. She says "Well I've also never been fucked before." So the man picks her up, and throws her in the ocean and says "Now you're fucked."
    +2
  • BakerMan @ BakerMan:
    lmao
  • BakerMan @ BakerMan:
    anyways, we need to re-normalize physical media

    if i didn't want my games to be permanent, then i'd rent them
    +1
  • BigOnYa @ BigOnYa:
    Agreed, that why I try to buy all my games on disc, Xbox anyways. Switch games (which I pirate tbh) don't matter much, I stay offline 24/7 anyways.
  • AncientBoi @ AncientBoi:
    I don't pirate them, I Use Them :mellow:. Like I do @BigOnYa 's couch :tpi::evil::rofl2:
    +1
  • cearp @ cearp:
    @BakerMan - you can still "own" digital media, arguably easier and better than physical since you can make copies and backups, as much as you like.

    The issue is DRM
  • cearp @ cearp:
    You can buy drm free games / music / ebooks, and if you keep backups of your data (like documents and family photos etc), then you shouldn't lose the game. but with a disk, your toddler could put it in the toaster and there goes your $60

    :rofl2:
  • cearp @ cearp:
    still, I agree physical media is nice to have. just pointing out the issue is drm
  • rqkaiju2 @ rqkaiju2:
    i like physical media because it actually feels like you own it. thats why i plan on burning music to cds
  • cearp @ cearp:
    It's nice to not have to have a lot of physical things though, saves space
    +1
  • AncientBoi @ AncientBoi:
    Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D
    AncientBoi @ AncientBoi: Nor clothes 🤮 . Saves on time, soap, water and money having to wash them. :D